PORT-137 Display ContentReview indicator unrelated to set ReviewDate
This commit is contained in:
parent
d24786ef4e
commit
09d3569df0
|
@ -453,7 +453,7 @@ class SiteTreeContentReview extends DataExtension implements PermissionProvider
|
|||
|
||||
return (bool) $nextDate;
|
||||
}
|
||||
|
||||
|
||||
public function canRemind(Member $member = null) {
|
||||
if (!$this->owner->obj("NextReviewDate")->exists()) {
|
||||
return false;
|
||||
|
@ -469,7 +469,7 @@ class SiteTreeContentReview extends DataExtension implements PermissionProvider
|
|||
if (!$notifyDate1 == $now->URLDate()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
$options = $this->getOptions();
|
||||
|
||||
if (!$options) {
|
||||
|
@ -492,7 +492,7 @@ class SiteTreeContentReview extends DataExtension implements PermissionProvider
|
|||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Check if a review is due by a member for this owner.
|
||||
*
|
||||
|
@ -506,10 +506,6 @@ class SiteTreeContentReview extends DataExtension implements PermissionProvider
|
|||
return false;
|
||||
}
|
||||
|
||||
if ($this->owner->obj("NextReviewDate")->InFuture()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$options = $this->getOptions();
|
||||
|
||||
if (!$options) {
|
||||
|
|
Loading…
Reference in New Issue