From ef4a826e345e2eb7c0013617b3f07cc53ef22ed8 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Tue, 9 Mar 2021 08:41:01 +0100 Subject: Reload full content when changed (#3506) * Reload full content when changed If an article is changed, reload also its full content when applicable. * Compute hash before getting full content * Revert mix two PRs * Update app/Controllers/feedController.php --- app/Controllers/feedController.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/Controllers/feedController.php') diff --git a/app/Controllers/feedController.php b/app/Controllers/feedController.php index 25bada492..6c9b16ff4 100755 --- a/app/Controllers/feedController.php +++ b/app/Controllers/feedController.php @@ -377,6 +377,9 @@ class FreshRSS_feed_Controller extends Minz_ActionController { continue; } + // If the entry has changed, there is a good chance for the full content to have changed as well. + $entry->loadCompleteContent(true); + if (!$entryDAO->inTransaction()) { $entryDAO->beginTransaction(); } -- cgit v1.2.3