aboutsummaryrefslogtreecommitdiff
path: root/db/upgrade.php
diff options
context:
space:
mode:
Diffstat (limited to 'db/upgrade.php')
-rw-r--r--db/upgrade.php3
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;