mirror of
https://github.com/moodle/moodle.git
synced 2025-04-16 14:02:32 +02:00
Merge branch 'wip-MDL-59468-master' of https://github.com/marinaglancy/moodle
This commit is contained in:
commit
2ae3581d63
@ -67,7 +67,7 @@ function theme_get_sub_revision_for_theme($themename) {
|
||||
|
||||
if (empty($CFG->themedesignermode)) {
|
||||
$pluginname = "theme_{$themename}";
|
||||
$revision = get_config($pluginname, 'themerev');
|
||||
$revision = during_initial_install() ? null : get_config($pluginname, 'themerev');
|
||||
|
||||
if (empty($revision)) {
|
||||
// This only happens during install. It doesn't matter what themerev we use as long as it's positive.
|
||||
|
Loading…
x
Reference in New Issue
Block a user