Skip to content

Commit bebb13b

Browse files
committed
Re-enable settings cache after news schema check.
Fix a copy/paste typo that's been in place for a couple year and that left the settings cache disabled after the MythNews DB schema check. This wasn't usually visible because anyone who had any "later-in-the-alphabet" plugin installed (such as MythWeather or MythVideo) would have their settings cache re-enabled by the later plugin's schema check. However, now that the MythVideo schema is in core schema (and so no MythVideo schema check is done), users without MythWeather would have seen slowness until they forced the settings cache to re-enable (such as by going through any settings pages). Thanks to Greg Estabrooks for noticing. (cherry picked from commit 6f63367)
1 parent 7af55a6 commit bebb13b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mythplugins/mythnews/mythnews/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ int mythplugin_init(const char *libversion)
6969
"Couldn't upgrade database to new schema, exiting.");
7070
return -1;
7171
}
72-
gCoreContext->ActivateSettingsCache(false);
72+
gCoreContext->ActivateSettingsCache(true);
7373

7474
setupKeys();
7575

0 commit comments

Comments
 (0)