|
@@ -293,10 +293,6 @@ function WSGetLpList($params)
|
|
|
return return_error(WS_ERROR_SECRET_KEY);
|
|
|
}
|
|
|
|
|
|
- require_once api_get_path(SYS_CODE_PATH).'lp/learnpathList.class.php';
|
|
|
- require_once api_get_path(SYS_CODE_PATH).'lp/learnpath.class.php';
|
|
|
- require_once api_get_path(SYS_CODE_PATH).'lp/learnpathItem.class.php';
|
|
|
-
|
|
|
$courseIdName = $params['course_id_name'];
|
|
|
$courseIdValue = $params['course_id_value'];
|
|
|
|
|
@@ -387,10 +383,6 @@ function WSDeleteLp($params)
|
|
|
return return_error(WS_ERROR_SECRET_KEY);
|
|
|
}
|
|
|
|
|
|
- require_once api_get_path(SYS_CODE_PATH).'lp/learnpathList.class.php';
|
|
|
- require_once api_get_path(SYS_CODE_PATH).'lp/learnpath.class.php';
|
|
|
- require_once api_get_path(SYS_CODE_PATH).'lp/learnpathItem.class.php';
|
|
|
-
|
|
|
$courseIdName = $params['course_id_name'];
|
|
|
$courseIdValue = $params['course_id_value'];
|
|
|
$lpId = $params['lp_id'];
|