From: Andrew Dolgov Date: Tue, 8 Oct 2013 18:35:36 +0000 (+0400) Subject: do not try to load user plugins on schema < 100 X-Git-Tag: 1.11~42^2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=6d45a15286ba2b0c360b6b132c35e5f477c2c329;p=tt-rss.git do not try to load user plugins on schema < 100 --- diff --git a/include/functions.php b/include/functions.php index 040140bb..663d9351 100644 --- a/include/functions.php +++ b/include/functions.php @@ -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);