summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Stichnoth <jstichnoth@mythtv.org>2012-03-31 21:56:12 (GMT)
committer Jim Stichnoth <jstichnoth@mythtv.org>2012-03-31 21:56:12 (GMT)
commitbbd08800eb4f458613f9b5f52698a1951f934e2e (patch)
treec7e17db7c3f09ca96024a85ab8c66d415680d8da
parent78948da6fe6fc8e482fb12381bae50a2f12adf97 (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.
-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 5eb05d7..ecd2592 100644
--- a/mythplugins/mytharchive/mytharchive/main.cpp
+++ b/mythplugins/mytharchive/mytharchive/main.cpp
@@ -329,7 +329,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();