From 8fcfe55ba8d12d3b2097697bca45dc2d95d2f05a Mon Sep 17 00:00:00 2001 From: Jason Irish Date: Wed, 22 Nov 2017 12:22:57 -0600 Subject: [PATCH] Subsite - allow canEdit to be extended --- src/Model/Subsite.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Model/Subsite.php b/src/Model/Subsite.php index 0093b35..884436f 100644 --- a/src/Model/Subsite.php +++ b/src/Model/Subsite.php @@ -637,6 +637,11 @@ class Subsite extends DataObject */ public function canEdit($member = false) { + $extended = $this->extendedCan(__FUNCTION__, $member); + if ($extended !== null) { + return $extended; + } + return true; }