]> git.wh0rd.org - tt-rss.git/blobdiff - include/functions.php
do not try to load user plugins on schema < 100
[tt-rss.git] / 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);