MDL-60364 Web service: E_ERROR in course_check_updates web service

The error stated that course_check_updates() is undefined, this function
is in the course lib.php file.
This commit is contained in:
Neill Magill
2017-10-06 13:43:09 +01:00
parent d8e9a23c48
commit cd2115fa37
+1
View File
@@ -3135,6 +3135,7 @@ class core_course_external extends external_api {
*/
public static function check_updates($courseid, $tocheck, $filter = array()) {
global $CFG, $DB;
require_once($CFG->dirroot . "/course/lib.php");
$params = self::validate_parameters(
self::check_updates_parameters(),