Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS

This commit is contained in:
Andrew Dolgov 2013-10-09 16:58:56 +04:00
commit 0a08d1b246

View file

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