MDL-42930 Release upgrade line: Fix ordering for tinymce
authorDamyon Wiese <damyon@moodle.com>
Wed, 20 Nov 2013 03:47:35 +0000 (11:47 +0800)
committerDamyon Wiese <damyon@moodle.com>
Wed, 20 Nov 2013 03:47:35 +0000 (11:47 +0800)
lib/editor/tinymce/db/upgrade.php

index bc7bd99..4a648e3 100644 (file)
@@ -44,10 +44,6 @@ function xmldb_editor_tinymce_upgrade($oldversion) {
     // Moodle v2.5.0 release upgrade line.
     // Put any upgrade step following this.
 
-
-    // Moodle v2.6.0 release upgrade line.
-    // Put any upgrade step following this.
-
     if ($oldversion < 2013061400) {
         // Reset redesigned editor toolbar setting.
         $oldorder = "fontselect,fontsizeselect,formatselect,|,undo,redo,|,search,replace,|,fullscreen
@@ -155,5 +151,9 @@ fontselect,fontsizeselect,wrap,code,search,replace,wrap,nonbreaking,charmap,tabl
         upgrade_plugin_savepoint(true, 2013110600, 'editor', 'tinymce');
     }
 
+    // Moodle v2.6.0 release upgrade line.
+    // Put any upgrade step following this.
+
+
     return true;
 }