mirror of
https://github.com/silverstripe/silverstripe-contentreview
synced 2024-06-26 14:39:32 +02:00
With the new `canReviewContent()` permission checker we only need to check the permission is set for the user and `canBeReviewedBy()` will always check if the page object is due for review by its owner. Thus removed redundant logic in `canUseReviewContent()` and accordingly renamed the class filename for additional context. |
||
---|---|---|
.. | ||
PermissionChecker.php |