summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-10-08 22:35:36 +0400
committerAndrew Dolgov <[email protected]>2013-10-08 22:35:36 +0400
commit6d45a15286ba2b0c360b6b132c35e5f477c2c329 (patch)
tree07a584abb7ecc534b0a825855e1e7308a337fae6 /include
parente198cca75bc5f6bc573174739780e18b4c6a7daa (diff)
do not try to load user plugins on schema < 100
Diffstat (limited to 'include')
-rw-r--r--include/functions.php2
1 files changed, 1 insertions, 1 deletions
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);