mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-60198 webservice: Add missing MOODLE_INTERNAL checks
This commit is contained in:
parent
91cbdda6af
commit
e71687baf9
11 changed files with 20 additions and 0 deletions
|
@ -24,6 +24,8 @@
|
|||
* @since Moodle 2.9
|
||||
*/
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
require_once("$CFG->libdir/externallib.php");
|
||||
require_once("$CFG->dirroot/comment/lib.php");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue