refactor: remove persistent
variable
This commit is contained in:
parent
cd1070cd8d
commit
b8229e33ad
1 changed files with 1 additions and 1 deletions
|
@ -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;',
|
||||||
|
|
Loading…
Reference in a new issue