do not try to load user plugins on schema < 100
This commit is contained in:
parent
e198cca75b
commit
6d45a15286
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue