MDL-77027 webservice: Add missing class requires

This commit is contained in:
Andrew Nicols 2023-01-25 11:13:58 +08:00
parent df502b3e4c
commit a72168741c
2 changed files with 6 additions and 0 deletions

View File

@ -23,6 +23,9 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @author Jerome Mouneyrac
*/
use core_external\external_api;
require_once('../../config.php');
require_once($CFG->libdir . '/adminlib.php');
require_once($CFG->dirroot . '/webservice/lib.php');

View File

@ -14,6 +14,9 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
use core_external\external_api;
use core_external\external_multiple_structure;
use core_external\external_single_structure;
/**
* Web service documentation renderer.