mirror of
https://github.com/silverstripe/silverstripe-contentreview
synced 2024-10-22 17:05:47 +02:00
Converted to PSR-2
This commit is contained in:
parent
ddf5052503
commit
98c125360b
@ -537,7 +537,7 @@ class SiteTreeContentReview extends DataExtension implements PermissionProvider
|
||||
protected function setDefaultReviewDateForInherited()
|
||||
{
|
||||
// Don't overwrite existing value
|
||||
if($this->owner->NextReviewDate) {
|
||||
if ($this->owner->NextReviewDate) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -167,7 +167,7 @@ class PagesDueForReviewReport extends SS_Report
|
||||
if (!empty($params["OnlyMyPages"])) {
|
||||
$currentUser = Member::currentUser();
|
||||
|
||||
$records = $records->filterByCallback(function($page) use ($currentUser) {
|
||||
$records = $records->filterByCallback(function ($page) use ($currentUser) {
|
||||
$options = $page->getOptions();
|
||||
|
||||
foreach ($options->ContentReviewOwners() as $owner) {
|
||||
|
Loading…
Reference in New Issue
Block a user