MDL-60198 webservice: Add missing MOODLE_INTERNAL checks

This commit is contained in:
Juan Leyva 2017-09-21 13:01:28 +02:00
parent 91cbdda6af
commit e71687baf9
11 changed files with 20 additions and 0 deletions

View file

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