Clean up some unused variables.
This is essentially 1ccc0c8c1a without the renames and some other things related to Psalm.
This commit is contained in:
@@ -93,7 +93,7 @@
|
||||
$sth = \Db::pdo()->prepare("SELECT id FROM ttrss_sessions WHERE id=?");
|
||||
$sth->execute([$id]);
|
||||
|
||||
if ($row = $sth->fetch()) {
|
||||
if ($sth->fetch()) {
|
||||
$sth = \Db::pdo()->prepare("UPDATE ttrss_sessions SET data=?, expire=? WHERE id=?");
|
||||
$sth->execute([$data, $expire, $id]);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user