load_user_plugins: only load data when schema version > 100

This commit is contained in:
Andrew Dolgov 2012-12-27 20:28:06 +04:00
parent d26111f541
commit e9c04fd4e3
1 changed files with 4 additions and 1 deletions

View File

@ -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();
}
}
}