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
|
@ -23,6 +23,8 @@
|
|||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
require_once("$CFG->libdir/externallib.php");
|
||||
|
||||
class core_cohort_external extends external_api {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue