mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-19 09:21:30 +00:00
load_user_plugins: only load data when schema version > 100
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user