]> git.mjollnir.org Git - moodle.git/commitdiff
Some notices to remind people about things they need to do.
authormoodler <moodler>
Thu, 15 May 2003 17:26:59 +0000 (17:26 +0000)
committermoodler <moodler>
Thu, 15 May 2003 17:26:59 +0000 (17:26 +0000)
lib/db/mysql.php
lib/db/postgres7.php

index 9d396c311a7ffb4a71e05356781ac84a63fbafeb..2d95ee664b1101525d4f764ba620c5a03ba23132 100644 (file)
@@ -385,10 +385,14 @@ function main_upgrade($oldversion=0) {
 
     if ($oldversion < 2003050902) {
         if (get_records("modules", "name", "pgassignment")) {
-            print_simple_box("Note: the pgassignment module will soon be deleted from CVS!  Go to the new 'Manage Modules' page and DELETE IT from your system", "center", "50%", "$THEME->cellheading", "20", "noticebox");
+            print_simple_box("Note: the pgassignment module has been removed (it will be replaced later by the workshop module).  Go to the new 'Manage Modules' page and DELETE IT from your system", "center", "50%", "$THEME->cellheading", "20", "noticebox");
         }
     }
 
+    if ($oldversion < 2003051600) {
+        print_simple_box("Thanks for upgrading!<p>There are many changes since the last release.  Please read the release notes carefully.  If you are using CUSTOM themes you will need to edit them.  You will also need to check your site's config.php file.", "center", "50%", "$THEME->cellheading", "20", "noticebox");
+    }
+
     return $result;
 
 }
index b278921bfcc84bd9108b6cb014bea0b2dcdcfea9..8096f517bde3269de02abc6fa6c73f02fb0c7257 100644 (file)
@@ -160,6 +160,10 @@ function main_upgrade($oldversion=0) {
         }
     }
 
+    if ($oldversion < 2003051600) {
+        print_simple_box("Thanks for upgrading!<p>There are many changes since the last release.  Please read the release notes carefully.  If you are using CUSTOM themes you will need to edit them.  You will also need to check your site's config.php file.", "center", "50%", "$THEME->cellheading", "20", "noticebox");
+    }
+
     return $result;
 }
 ?>