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
1 changed files with 1 additions and 1 deletions

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);