webservice MDL-12886 quick fix for external file

This commit is contained in:
jerome 2009-09-09 08:35:26 +00:00
parent 47c96a774e
commit 15f4e7fdac
2 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -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