MDL-28344 remove unused CFG->framename
authorPetr Skoda <commits@skodak.org>
Thu, 14 Jul 2011 20:00:41 +0000 (22:00 +0200)
committerPetr Skoda <commits@skodak.org>
Thu, 14 Jul 2011 20:00:41 +0000 (22:00 +0200)
lib/db/upgrade.php
version.php

index f823295..cd7f428 100644 (file)
@@ -6643,6 +6643,12 @@ FROM
         upgrade_main_savepoint(true, 2011070800.01);
     }
 
+    if ($oldversion < 2011071300.01) {
+        // remove unused config option
+        unset_config('framename');
+        upgrade_main_savepoint(true, 2011071300.01);
+    }
+
 
     return true;
 }
index bac0d65..8de9cef 100644 (file)
@@ -31,7 +31,7 @@ defined('MOODLE_INTERNAL') || die();
 
 
 
-$version  = 2011071300.00;              // YYYYMMDD      = weekly release date of this DEV branch
+$version  = 2011071300.01;              // YYYYMMDD      = weekly release date of this DEV branch
                                         //         RR    = release increments - 00 in DEV branches
                                         //           .XX = incremental changes