MDL-19211 reverting to old style editor preferences, the actual code that uses the prefs will be in next commit; fixed version

This commit is contained in:
Petr Skoda 2010-07-10 10:52:06 +00:00
parent c3ed4a5ab9
commit d0942f6d3a
2 changed files with 3 additions and 3 deletions

View 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;

View 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