From bebb13b5073d5f3118dff5e83db272d2c3a043ad Mon Sep 17 00:00:00 2001 From: "Michael T. Dean" Date: Sat, 22 Jan 2011 23:02:45 -0500 Subject: [PATCH] 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 6f63367aad44d6cd90aef34f18bedb6a31acd0cb) --- mythplugins/mythnews/mythnews/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mythplugins/mythnews/mythnews/main.cpp b/mythplugins/mythnews/mythnews/main.cpp index e18a4e1754f..f6bc7414050 100644 --- a/mythplugins/mythnews/mythnews/main.cpp +++ b/mythplugins/mythnews/mythnews/main.cpp @@ -69,7 +69,7 @@ int mythplugin_init(const char *libversion) "Couldn't upgrade database to new schema, exiting."); return -1; } - gCoreContext->ActivateSettingsCache(false); + gCoreContext->ActivateSettingsCache(true); setupKeys();