diff options
author | Jean-Michel Vedrine <vedrine@vedrine.org> | 2017-12-29 11:47:14 +0100 |
---|---|---|
committer | Jean-Michel Vedrine <vedrine@vedrine.org> | 2017-12-29 11:47:14 +0100 |
commit | dab602239e5f491979f7b33bcb042c36ed506517 (patch) | |
tree | bc8cec47f81445da1faf94e0dfe40bbe6377dd43 /db/upgrade.php | |
parent | 0603c47b4ba2baf89a39fc69108f29022083f77e (diff) |
Fix missing MOODLE_INTERNAL
Diffstat (limited to 'db/upgrade.php')
-rw-r--r-- | db/upgrade.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/db/upgrade.php b/db/upgrade.php index 6ddf1db..48cc159 100644 --- a/db/upgrade.php +++ b/db/upgrade.php @@ -21,6 +21,9 @@ * @copyright Roger Moore * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ + +defined('MOODLE_INTERNAL') || die(); + function xmldb_qtype_algebra_upgrade($oldversion=0) { global $CFG, $THEME, $DB; |