MDL-11517 reserved word MOD used in table alias in questions backup code
[moodle-pu.git] / blocks / admin / db / mysql.php
blob845fbc9658a77252c5dd87051492aec55959e6e5
1 <?PHP //$Id$
3 // THIS FILE IS DEPRECATED! PLEASE DO NOT MAKE CHANGES TO IT!
4 //
5 // IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL
6 // LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
7 //
8 // This file is tailored to MySQL
10 function admin_upgrade($oldversion=0) {
12 global $CFG;
14 $result = true;
16 if ($oldversion < 2004041000 and $result) {
17 $result = true; //Nothing to do
20 ////// DO NOT ADD NEW THINGS HERE!! USE upgrade.php and the lib/ddllib.php functions.
22 //Finally, return result
23 return $result;