diff options
author | wn_ <[email protected]> | 2024-01-08 22:46:13 +0000 |
---|---|---|
committer | wn_ <[email protected]> | 2024-01-08 22:46:13 +0000 |
commit | 8727fb3ba8a28da48c71bdd39166b9aeb3c3d986 (patch) | |
tree | 8047a82c148f3055a5fb5bd197bef88d55a10e7a /include | |
parent | f0f22c23c5986d8f21f82e4a8203a164a5c4aace (diff) |
Clean up some unused variables.
This is essentially https://gitlab.tt-rss.org/wn/tt-rss/-/commit/1ccc0c8c1af04dd9654b585c6d07e3a75d944a0c without the renames and some other things related to Psalm.
Diffstat (limited to 'include')
-rw-r--r-- | include/sessions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sessions.php b/include/sessions.php index 48afd0a8b..605ca9325 100644 --- a/include/sessions.php +++ b/include/sessions.php @@ -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 { |