Permalink
Browse files

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 bbd0880)
  • Loading branch information...
1 parent bcd91d5 commit 4f31db5f00e69e04244f09a23a84cb3972aca21e @stichnot stichnot committed with stuartm Mar 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythplugins/mytharchive/mytharchive/main.cpp
@@ -324,7 +324,7 @@ int mythplugin_init(const char *libversion)
"Couldn't upgrade database to new schema, exiting.");
return -1;
}
- gContext->ActivateSettingsCache(false);
+ gContext->ActivateSettingsCache(true);
ArchiveSettings settings;
settings.Load();

0 comments on commit 4f31db5

Please sign in to comment.