[HttpFoundation] removed superfluous query call (closes #2469)
This commit is contained in:
parent
68eb068fd8
commit
6c2f093b33
@ -143,7 +143,6 @@ class PdoSessionStorage extends NativeSessionStorage
|
||||
$sql = "DELETE FROM $dbTable WHERE $dbTimeCol < (:time - $lifetime)";
|
||||
|
||||
try {
|
||||
$this->db->query($sql);
|
||||
$stmt = $this->db->prepare($sql);
|
||||
$stmt->bindValue(':time', time(), \PDO::PARAM_INT);
|
||||
$stmt->execute();
|
||||
|
Reference in New Issue
Block a user