diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2024-01-13 18:29:30 +0000 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2024-01-13 18:29:30 +0000 |
| commit | 283ad4ebea9e93a97848000f38ca91b23ce883ff (patch) | |
| tree | 0b9ea618b438156b3803df115afec5e34d30e3a8 /classes/RSSUtils.php | |
| parent | d334023267848accb339c8ec3186be2afde3b514 (diff) | |
| parent | 8727fb3ba8a28da48c71bdd39166b9aeb3c3d986 (diff) | |
Merge branch 'feature/unused-var-cleanup' into 'master'
Clean up some unused variables.
See merge request tt-rss/tt-rss!19
Diffstat (limited to 'classes/RSSUtils.php')
| -rw-r--r-- | classes/RSSUtils.php | 5 |
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); |