mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-25394 Improved support for mobile and device themes
This commit is contained in:
parent
16b5541dd2
commit
37959dd471
11 changed files with 534 additions and 70 deletions
|
@ -6112,6 +6112,12 @@ WHERE gradeitemid IS NOT NULL AND grademax IS NOT NULL");
|
|||
upgrade_main_savepoint(true, 2011052300.02);
|
||||
}
|
||||
|
||||
//set enable theme detection to the new themes setting.
|
||||
if ($oldversion < 2011052500.00) {
|
||||
set_config('enabledevicedetection', 1);
|
||||
|
||||
upgrade_main_savepoint(true, 2011052500.00);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue