load_user_plugins: only load data when schema version > 100
This commit is contained in:
parent
d26111f541
commit
e9c04fd4e3
|
@ -709,9 +709,12 @@
|
||||||
|
|
||||||
global $pluginhost;
|
global $pluginhost;
|
||||||
$pluginhost->load($plugins, $pluginhost::KIND_USER, $owner_uid);
|
$pluginhost->load($plugins, $pluginhost::KIND_USER, $owner_uid);
|
||||||
|
|
||||||
|
if (get_schema_version($link) > 100) {
|
||||||
$pluginhost->load_data();
|
$pluginhost->load_data();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function login_sequence($link, $login_form = 0) {
|
function login_sequence($link, $login_form = 0) {
|
||||||
if (SINGLE_USER_MODE) {
|
if (SINGLE_USER_MODE) {
|
||||||
|
|
Loading…
Reference in New Issue