Răsfoiți Sursa

Revert auto mark as read same titles for existing articles (#5561)

Partial revert of https://github.com/FreshRSS/FreshRSS/pull/5505
We should not apply the auto mark as read rule based on existing titles for updated articles, because the match would most of the time be on that same article's title.
Alexandre Alapetite 2 ani în urmă
părinte
comite
6ee73b5fca
1 a modificat fișierele cu 0 adăugiri și 5 ștergeri
  1. 0 5
      app/Controllers/feedController.php

+ 0 - 5
app/Controllers/feedController.php

@@ -487,11 +487,6 @@ class FreshRSS_feed_Controller extends FreshRSS_ActionController {
 								Minz_ExtensionManager::callHook('entry_auto_unread', $entry, 'updated_article');
 								Minz_ExtensionManager::callHook('entry_auto_unread', $entry, 'updated_article');
 							}
 							}
 
 
-							$entry->applyFilterActions($titlesAsRead);
-							if ($readWhenSameTitleInFeed > 0) {
-								$titlesAsRead[$entry->title()] = true;
-							}
-
 							$entry = Minz_ExtensionManager::callHook('entry_before_insert', $entry);
 							$entry = Minz_ExtensionManager::callHook('entry_before_insert', $entry);
 							if (!($entry instanceof FreshRSS_Entry)) {
 							if (!($entry instanceof FreshRSS_Entry)) {
 								// An extension has returned a null value, there is nothing to insert.
 								// An extension has returned a null value, there is nothing to insert.