1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 23:35:57 +00:00

do not try to load user plugins on schema < 100

This commit is contained in:
Andrew Dolgov
2013-10-08 22:35:36 +04:00
parent e198cca75b
commit 6d45a15286

View File

@@ -804,7 +804,7 @@
}
function load_user_plugins($owner_uid) {
if ($owner_uid) {
if ($owner_uid && SCHEMA_VERSION >= 100) {
$plugins = get_pref("_ENABLED_PLUGINS", $owner_uid);
PluginHost::getInstance()->load($plugins, PluginHost::KIND_USER, $owner_uid);