Merge pull request #5880 from PierrePlt:fix/blocking-last-logins

Fix blocking last logins fetching
This commit is contained in:
Niklas Meyer authored and GitHub committed 2024-06-10 12:40:43 +02:00
commit 97768494e1
4 files changed
+2 -4

No files matched your search

-1
View File
@@ -49,7 +49,6 @@ $globalVariables = [
'app_links' => customize('get', 'app_links'),
'is_root_uri' => (parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) == '/'),
'uri' => $_SERVER['REQUEST_URI'],
'last_login' => last_login('get', $_SESSION['mailcow_cc_username'], 7, 0)['ui']['time']
];
foreach ($globalVariables as $globalVariableName => $globalVariableValue) {