2 // THIS FILE IS DEPRECATED! PLEASE DO NOT MAKE CHANGES TO IT!
4 // IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL
5 // LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
7 // This file is tailored to MySQL
9 function activity_modules_upgrade($oldversion=0) {
15 if ($oldversion < 2004041000 and $result) {
16 $result = true; //Nothing to do
19 ////// DO NOT ADD NEW THINGS HERE!! USE upgrade.php and the lib/ddllib.php functions.
21 //Finally, return result