From 8727fb3ba8a28da48c71bdd39166b9aeb3c3d986 Mon Sep 17 00:00:00 2001 From: wn_ Date: Mon, 8 Jan 2024 22:46:13 +0000 Subject: 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. --- plugins/af_psql_trgm/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/af_psql_trgm/init.php b/plugins/af_psql_trgm/init.php index 4767e071b..28a0ab933 100644 --- a/plugins/af_psql_trgm/init.php +++ b/plugins/af_psql_trgm/init.php @@ -385,7 +385,7 @@ class Af_Psql_Trgm extends Plugin { $sth = $this->pdo->prepare("SELECT id FROM ttrss_feeds WHERE id = ? AND owner_uid = ?"); $sth->execute([$feed, $_SESSION['uid']]); - if ($row = $sth->fetch()) { + if ($sth->fetch()) { array_push($tmp, $feed); } } -- cgit v1.2.3