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;
|
return (bool) $nextDate;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function canRemind(Member $member = null) {
|
public function canRemind(Member $member = null) {
|
||||||
if (!$this->owner->obj("NextReviewDate")->exists()) {
|
if (!$this->owner->obj("NextReviewDate")->exists()) {
|
||||||
return false;
|
return false;
|
||||||
|
@ -469,7 +469,7 @@ class SiteTreeContentReview extends DataExtension implements PermissionProvider
|
||||||
if (!$notifyDate1 == $now->URLDate()) {
|
if (!$notifyDate1 == $now->URLDate()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
$options = $this->getOptions();
|
$options = $this->getOptions();
|
||||||
|
|
||||||
if (!$options) {
|
if (!$options) {
|
||||||
|
@ -492,7 +492,7 @@ class SiteTreeContentReview extends DataExtension implements PermissionProvider
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if a review is due by a member for this owner.
|
* Check if a review is due by a member for this owner.
|
||||||
*
|
*
|
||||||
|
@ -506,10 +506,6 @@ class SiteTreeContentReview extends DataExtension implements PermissionProvider
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->owner->obj("NextReviewDate")->InFuture()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
$options = $this->getOptions();
|
$options = $this->getOptions();
|
||||||
|
|
||||||
if (!$options) {
|
if (!$options) {
|
||||||
|
|
Loading…
Reference in New Issue