diff options
| author | 2021-03-09 08:41:01 +0100 | |
|---|---|---|
| committer | 2021-03-09 08:41:01 +0100 | |
| commit | ef4a826e345e2eb7c0013617b3f07cc53ef22ed8 (patch) | |
| tree | 9347f2e14c857626376b224fe40572ae0d695be2 /app/Controllers/feedController.php | |
| parent | 385e7f883a3ea39fba4e5dad4a64f1ffe352165d (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-x | app/Controllers/feedController.php | 3 |
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(); } |
