aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/feedController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2021-03-09 08:41:01 +0100
committerGravatar GitHub <noreply@github.com> 2021-03-09 08:41:01 +0100
commitef4a826e345e2eb7c0013617b3f07cc53ef22ed8 (patch)
tree9347f2e14c857626376b224fe40572ae0d695be2 /app/Controllers/feedController.php
parent385e7f883a3ea39fba4e5dad4a64f1ffe352165d (diff)
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
Diffstat (limited to 'app/Controllers/feedController.php')
-rwxr-xr-xapp/Controllers/feedController.php3
1 files changed, 3 insertions, 0 deletions
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();
}