MDL-19211 reverting to old style editor preferences, the actual code that uses the...
authorPetr Skoda <skodak@moodle.org>
Sat, 10 Jul 2010 10:52:06 +0000 (10:52 +0000)
committerPetr Skoda <skodak@moodle.org>
Sat, 10 Jul 2010 10:52:06 +0000 (10:52 +0000)
lib/db/upgrade.php
version.php

index 30eac6e..d174a62 100644 (file)
@@ -4710,7 +4710,7 @@ WHERE gradeitemid IS NOT NULL AND grademax IS NOT NULL");
         upgrade_main_savepoint(true, 2010070801);
     }
 
-    if ($oldversion < 2010070900) {
+    if ($oldversion < 2010071000) {
         //purge unused editor settings
         unset_config('editorbackgroundcolor');
         unset_config('editorfontfamily');
@@ -4719,7 +4719,7 @@ WHERE gradeitemid IS NOT NULL AND grademax IS NOT NULL");
         unset_config('editorhidebuttons');
         unset_config('editorfontlist');
 
-        upgrade_main_savepoint(true, 2010070900);
+        upgrade_main_savepoint(true, 2010071000);
     }
 
     return true;
index a5e89e7..bde345b 100644 (file)
@@ -6,7 +6,7 @@
 // This is compared against the values stored in the database to determine
 // whether upgrades should be performed (see lib/db/*.php)
 
-    $version = 2010070901;  // YYYYMMDD   = date of the last version bump
+    $version = 2010071000;  // YYYYMMDD   = date of the last version bump
                             //         XX = daily increments
 
     $release = '2.0 Preview 4+ (Build: 20100710)';  // Human-friendly version name