During upgrade from pre- 1.5, set the theme to standardwhite so it works
This commit is contained in:
@@ -915,6 +915,8 @@ function main_upgrade($oldversion=0) {
|
||||
table_column('course', '', 'theme', 'varchar', '50', '', '', '', 'lang');
|
||||
table_column('groups', '', 'theme', 'varchar', '50', '', '', '', 'lang');
|
||||
table_column('user', '', 'theme', 'varchar', '50', '', '', '', 'lang');
|
||||
|
||||
set_config('theme', 'standardwhite'); // Reset to a known good theme
|
||||
}
|
||||
|
||||
if ($oldversion < 2005021700) {
|
||||
|
||||
Reference in New Issue
Block a user