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;