mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
Merge branch 'MDL-63583-master' of git://github.com/jleyva/moodle
This commit is contained in:
commit
1a51deaf69
@ -3051,6 +3051,7 @@ class core_course_external extends external_api {
|
||||
*/
|
||||
public static function get_courses_by_field($field = '', $value = '') {
|
||||
global $DB, $CFG;
|
||||
require_once($CFG->dirroot . '/course/lib.php');
|
||||
require_once($CFG->libdir . '/filterlib.php');
|
||||
|
||||
$params = self::validate_parameters(self::get_courses_by_field_parameters(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user