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:02:45 (GMT)
commit6f63367aad44d6cd90aef34f18bedb6a31acd0cb (patch)
tree16c9a2620bc62bbffa3c35b42127d2c1950b66df
parent30a26a7d30d247072459f484889f513bee56228d (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.
-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();