summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-12-27 20:28:06 +0400
committerAndrew Dolgov <[email protected]>2012-12-27 20:28:06 +0400
commite9c04fd4e33e4b4da7109b4a4241629416ecd336 (patch)
tree8050eb7392cb613ef536a08c72ce1d1665bbd544 /include
parentd26111f541d196944ab8bf630f2fda3ec6aae9d0 (diff)
load_user_plugins: only load data when schema version > 100
Diffstat (limited to 'include')
-rw-r--r--include/functions.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php
index 540ab4d4a..6dc494454 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();
+ }
}
}