Skip to content

Commit

Permalink
Merge branch 'MDL-60198-master' of git://github.com/jleyva/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Oct 3, 2017
2 parents 012c2b8 + e71687b commit fe61786
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions admin/tool/mobile/classes/external.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
*/

namespace tool_mobile;
defined('MOODLE_INTERNAL') || die();

require_once("$CFG->libdir/externallib.php");

Expand Down
1 change: 1 addition & 0 deletions admin/tool/templatelibrary/classes/external.php
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down
2 changes: 2 additions & 0 deletions cohort/externallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 2 additions & 0 deletions comment/classes/external.php
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down
2 changes: 2 additions & 0 deletions files/externallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

defined('MOODLE_INTERNAL') || die();

require_once("$CFG->libdir/externallib.php");
require_once("$CFG->libdir/filelib.php");

Expand Down
2 changes: 2 additions & 0 deletions group/externallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

defined('MOODLE_INTERNAL') || die();

require_once("$CFG->libdir/externallib.php");

/**
Expand Down
2 changes: 2 additions & 0 deletions message/externallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

defined('MOODLE_INTERNAL') || die();

require_once("$CFG->libdir/externallib.php");
require_once($CFG->dirroot . "/message/lib.php");

Expand Down
2 changes: 2 additions & 0 deletions notes/externallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

defined('MOODLE_INTERNAL') || die();

require_once("$CFG->libdir/externallib.php");
require_once($CFG->dirroot . "/notes/lib.php");

Expand Down
2 changes: 2 additions & 0 deletions question/classes/external.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

defined('MOODLE_INTERNAL') || die();

require_once("$CFG->libdir/externallib.php");
require_once($CFG->dirroot . '/question/engine/lib.php');

Expand Down
2 changes: 2 additions & 0 deletions tag/classes/external.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

defined('MOODLE_INTERNAL') || die();

require_once("$CFG->libdir/externallib.php");
require_once("$CFG->dirroot/webservice/externallib.php");

Expand Down
2 changes: 2 additions & 0 deletions user/externallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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");

/**
Expand Down

0 comments on commit fe61786

Please sign in to comment.