]> git.wh0rd.org Git - tt-rss.git/commitdiff
load_user_plugins: only load data when schema version > 100
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 27 Dec 2012 16:28:06 +0000 (20:28 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 27 Dec 2012 16:28:06 +0000 (20:28 +0400)
include/functions.php

index 540ab4d4ac2db278516fb6a4333322f9342a8386..6dc49445451b4bb7174046d64fe2291d2e873252 100644 (file)
 
                        global $pluginhost;
                        $pluginhost->load($plugins, $pluginhost::KIND_USER, $owner_uid);
-                       $pluginhost->load_data();
+
+                       if (get_schema_version($link) > 100) {
+                               $pluginhost->load_data();
+                       }
                }
        }