2004-04-19 04:30:55 +00:00
|
|
|
<?PHP //$Id$
|
2006-10-26 22:46:02 +00:00
|
|
|
|
|
|
|
// THIS FILE IS DEPRECATED! PLEASE DO NOT MAKE CHANGES TO IT!
|
2004-04-19 04:30:55 +00:00
|
|
|
//
|
2006-10-26 22:46:02 +00:00
|
|
|
// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL
|
|
|
|
// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
|
2004-04-19 04:30:55 +00:00
|
|
|
//
|
|
|
|
// This file is tailored to PostgreSQL
|
|
|
|
|
|
|
|
function calendar_month_upgrade($oldversion=0) {
|
|
|
|
|
|
|
|
global $CFG;
|
|
|
|
|
|
|
|
$result = true;
|
|
|
|
|
|
|
|
if ($oldversion < 2004041000 and $result) {
|
|
|
|
$result = true; //Nothing to do
|
|
|
|
}
|
|
|
|
|
2006-10-26 22:46:02 +00:00
|
|
|
////// DO NOT ADD NEW THINGS HERE!! USE upgrade.php and the lib/ddllib.php functions.
|
|
|
|
|
2004-04-19 04:30:55 +00:00
|
|
|
//Finally, return result
|
|
|
|
return $result;
|
|
|
|
}
|