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
This commit is contained in:
Alexandre Alapetite
2021-03-09 08:41:01 +01:00
committed by GitHub
parent 385e7f883a
commit ef4a826e34
3 changed files with 7 additions and 6 deletions

View File

@@ -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();
}