summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael T. Dean <mdean@mythtv.org>2011-01-23 04:02:45 (GMT)
committer Michael T. Dean <mdean@mythtv.org>2011-01-23 04:12:04 (GMT)
commitbebb13b5073d5f3118dff5e83db272d2c3a043ad (patch)
tree70d57adf7b2022b473150f60c0a607096fdb8cf8
parent7af55a6817582b0fad25bdf54247f27ce8fcfdfc (diff)
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)
-rw-r--r--mythplugins/mythnews/mythnews/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mythplugins/mythnews/mythnews/main.cpp b/mythplugins/mythnews/mythnews/main.cpp
index e18a4e1..f6bc741 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();