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:
Petr Škoda
2013-07-13 19:25:17 +02:00
parent 862a16700d
commit abb043c3a1
+2
View File
@@ -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.
*/