3 // THIS FILE IS DEPRECATED! PLEASE DO NOT MAKE CHANGES TO IT!
5 // IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL
6 // LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
8 // This file is tailored to PostgreSQL
10 function news_items_upgrade($oldversion=0) {
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