summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Stichnoth <jstichnoth@mythtv.org>2012-03-31 21:56:12 (GMT)
committer Stuart Morgan <smorgan@mythtv.org>2012-04-02 20:19:50 (GMT)
commit91a06b908bad75ad222117477fee9b270182378c (patch)
tree521bcb1489ace1edd0df00ee57c88a9e146ec852
parent322de47d5b10a4d6f357a5941c0f690eb01a98ec (diff)
Fixes #10534. Reenable the DB settings cache after the schema check.
If mytharchive was the last plugin loaded, it accidentally left the DB settings cache disabled. This could be very noticeable when loading the Watch Recordings screen. (cherry picked from commit bbd08800eb4f458613f9b5f52698a1951f934e2e)
-rw-r--r--mythplugins/mytharchive/mytharchive/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mythplugins/mytharchive/mytharchive/main.cpp b/mythplugins/mytharchive/mytharchive/main.cpp
index f6e6e1d..e777c55 100644
--- a/mythplugins/mytharchive/mytharchive/main.cpp
+++ b/mythplugins/mytharchive/mytharchive/main.cpp
@@ -325,7 +325,7 @@ int mythplugin_init(const char *libversion)
"Couldn't upgrade database to new schema, exiting.");
return -1;
}
- gCoreContext->ActivateSettingsCache(false);
+ gCoreContext->ActivateSettingsCache(true);
ArchiveSettings settings;
settings.Load();