summaryrefslogtreecommitdiff
path: root/classes/RSSUtils.php
diff options
context:
space:
mode:
authorwn_ <[email protected]>2024-01-08 22:46:13 +0000
committerwn_ <[email protected]>2024-01-08 22:46:13 +0000
commit8727fb3ba8a28da48c71bdd39166b9aeb3c3d986 (patch)
tree8047a82c148f3055a5fb5bd197bef88d55a10e7a /classes/RSSUtils.php
parentf0f22c23c5986d8f21f82e4a8203a164a5c4aace (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 'classes/RSSUtils.php')
-rw-r--r--classes/RSSUtils.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/classes/RSSUtils.php b/classes/RSSUtils.php
index ea3c074ab..751e1d9c7 100644
--- a/classes/RSSUtils.php
+++ b/classes/RSSUtils.php
@@ -873,7 +873,7 @@ class RSSUtils {
$pdo->commit();
- $entry_obj = ORM::for_table('ttrss_entries')
+ ORM::for_table('ttrss_entries')
->find_one($base_entry_id)
->set('date_updated', Db::NOW())
->save();
@@ -1028,7 +1028,7 @@ class RSSUtils {
WHERE guid IN (?, ?, ?)");
$csth->execute([$entry_guid, $entry_guid_hashed, $entry_guid_hashed_compat]);
- if (!$row = $csth->fetch()) {
+ if (!$csth->fetch()) {
Debug::log("base guid [$entry_guid or $entry_guid_hashed] not found, creating...", Debug::LOG_VERBOSE);
@@ -1746,7 +1746,6 @@ class RSSUtils {
/** migrates favicons from legacy storage in feed-icons/ to cache/feed-icons/using new naming (sans .ico suffix) */
static function migrate_feed_icons() : void {
$old_dir = Config::get(Config::ICONS_DIR);
- $new_dir = Config::get(Config::CACHE_DIR) . '/feed-icons';
$dh = opendir($old_dir);