MDL-40435 require MOODLE_INTERNAL in core_component
We need to include db/subplugins.php when building core_component cache, there are some MOODLE_INTERNALs there…
This commit is contained in:
@@ -22,6 +22,8 @@
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
/**
|
||||
* Collection of components related methods.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user