From: Andrew Dolgov Date: Thu, 27 Dec 2012 16:28:06 +0000 (+0400) Subject: load_user_plugins: only load data when schema version > 100 X-Git-Tag: 1.7.0~95 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e9c04fd4e33e4b4da7109b4a4241629416ecd336;p=tt-rss.git load_user_plugins: only load data when schema version > 100 --- diff --git a/include/functions.php b/include/functions.php index 540ab4d4..6dc49445 100644 --- a/include/functions.php +++ b/include/functions.php @@ -709,7 +709,10 @@ global $pluginhost; $pluginhost->load($plugins, $pluginhost::KIND_USER, $owner_uid); - $pluginhost->load_data(); + + if (get_schema_version($link) > 100) { + $pluginhost->load_data(); + } } }