mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +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,7 @@
|
|||
*/
|
||||
|
||||
namespace tool_mobile;
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
require_once("$CFG->libdir/externallib.php");
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
namespace tool_templatelibrary;
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
require_once("$CFG->libdir/externallib.php");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue