From dab602239e5f491979f7b33bcb042c36ed506517 Mon Sep 17 00:00:00 2001 From: Jean-Michel Vedrine Date: Fri, 29 Dec 2017 11:47:14 +0100 Subject: Fix missing MOODLE_INTERNAL --- db/upgrade.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'db') 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; -- cgit v1.2.3