From e9c04fd4e33e4b4da7109b4a4241629416ecd336 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 27 Dec 2012 20:28:06 +0400 Subject: [PATCH] load_user_plugins: only load data when schema version > 100 --- include/functions.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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(); + } } } -- 2.39.2