From 6d45a15286ba2b0c360b6b132c35e5f477c2c329 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 8 Oct 2013 22:35:36 +0400 Subject: [PATCH] do not try to load user plugins on schema < 100 --- include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions.php b/include/functions.php index 040140bbf..663d9351b 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);