BUGFIX: reapplied advanceReviewDate method in correct area.

This commit is contained in:
MasseyIsaako 2018-08-14 15:32:04 +12:00
parent 5edb604acd
commit d5e4c98671
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,6 @@ class ContentReviewEmails extends BuildTask
foreach ($pages as $page) {
if (!$page->canBeReviewedBy()) {
$page->advanceReviewDate();
continue;
}
@ -65,6 +64,7 @@ class ContentReviewEmails extends BuildTask
// check log date vs NextReviewDate. If someone has left a content review
// after the review date, then we don't need to notify anybody
if ($contentReviewLog && $contentReviewLog->Created >= $page->NextReviewDate) {
$page->advanceReviewDate();
continue;
}