Remove an unnecessary session UID existence check in 'UserHelper::authenticate()'.

PHPStan 'if.alwaysTrue'
This commit is contained in:
wn_
2025-04-27 15:13:15 +00:00
parent 1c9fddd757
commit f097c5ed97

View File

@@ -181,10 +181,8 @@ class UserHelper {
$_SESSION["last_login_update"] = time();
}
if ($_SESSION["uid"]) {
startup_gettext();
self::load_user_plugins($_SESSION["uid"]);
}
startup_gettext();
self::load_user_plugins($_SESSION["uid"]);
}
}