]> git.wh0rd.org Git - tt-rss.git/commitdiff
do not try to load user plugins on schema < 100
authorAndrew Dolgov <fox@fakecake.org>
Tue, 8 Oct 2013 18:35:36 +0000 (22:35 +0400)
committerAndrew Dolgov <fox@fakecake.org>
Tue, 8 Oct 2013 18:35:36 +0000 (22:35 +0400)
include/functions.php

index 040140bbf23c146e3fc1ee813fe13af702fa5ee4..663d9351be7c8c386cfb61148ea800e1d7e49cf0 100644 (file)
        }
 
        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);