MDL-83424 message: Add missing MOODLE_INTERNAL checks
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
* @since Moodle 2.7
|
||||
*/
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
require_once($CFG->dirroot . '/message/output/lib.php');
|
||||
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
require_once($CFG->dirroot.'/message/output/lib.php');
|
||||
|
||||
/**
|
||||
|
||||
@@ -22,8 +22,9 @@
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v2 or later
|
||||
*/
|
||||
|
||||
require_once(__DIR__ . '/../../../../config.php'); //included from messagelib (how to fix?)
|
||||
require_once($CFG->dirroot.'/message/output/lib.php');
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
require_once($CFG->dirroot . '/message/output/lib.php');
|
||||
|
||||
/**
|
||||
* The popup message processor
|
||||
|
||||
Reference in New Issue
Block a user