refactor: remove persistent variable

This commit is contained in:
grandeljay 2023-09-25 12:16:46 +02:00
parent cd1070cd8d
commit b8229e33ad

View file

@ -432,7 +432,7 @@ class User
if (isset($_COOKIE[COOKIE_PERSISTENT])) { if (isset($_COOKIE[COOKIE_PERSISTENT])) {
global $database; global $database;
$persistent = $database $database
->query( ->query(
'DELETE FROM `sessions` 'DELETE FROM `sessions`
WHERE `session` = :session;', WHERE `session` = :session;',