timeline: if a section is set to hidden and the user is not capable of editing a...
[moodle-blog-course-format.git] / blocks / activity_modules / db / mysql.php
blob1549db4838f0206fa59d7ce98a02652204c5da20
1 <?PHP //$Id$
2 // THIS FILE IS DEPRECATED! PLEASE DO NOT MAKE CHANGES TO IT!
3 //
4 // IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL
5 // LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
6 //
7 // This file is tailored to MySQL
9 function activity_modules_upgrade($oldversion=0) {
11 global $CFG;
13 $result = true;
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
22 return $result;