mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
webservice MDL-12886 quick fix for external file
This commit is contained in:
parent
47c96a774e
commit
15f4e7fdac
2 changed files with 4 additions and 3 deletions
|
@ -22,6 +22,7 @@
|
|||
* @copyright Copyright (c) 1999 onwards Martin Dougiamas http://dougiamas.com
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL License
|
||||
*/
|
||||
require_once(dirname(dirname(__FILE__)) . '/lib/moodleexternal.php');
|
||||
require_once(dirname(dirname(__FILE__)) . '/course/lib.php');
|
||||
|
||||
/**
|
||||
|
@ -29,7 +30,7 @@ require_once(dirname(dirname(__FILE__)) . '/course/lib.php');
|
|||
*
|
||||
* @author Jerome Mouneyrac
|
||||
*/
|
||||
final class course_external {
|
||||
final class course_external extends moodle_external {
|
||||
|
||||
/**
|
||||
* Retrieve courses
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* @author Ferran Recio
|
||||
* @author Jerome Mouneyrac
|
||||
*/
|
||||
|
||||
require_once(dirname(dirname(__FILE__)) . '/lib/moodleexternal.php');
|
||||
require_once(dirname(dirname(__FILE__)) . '/group/lib.php');
|
||||
require_once(dirname(dirname(__FILE__)) . '/lib/grouplib.php');
|
||||
|
||||
|
@ -17,7 +17,7 @@ require_once(dirname(dirname(__FILE__)) . '/lib/grouplib.php');
|
|||
* Group external api class
|
||||
*
|
||||
*/
|
||||
final class group_external {
|
||||
final class group_external extends moodle_external {
|
||||
|
||||
/**
|
||||
* Create some groups
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue