Subsite - allow canEdit to be extended

This commit is contained in:
Jason Irish 2017-11-22 12:22:57 -06:00
parent 7bf430ba83
commit 8fcfe55ba8

View File

@ -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;
}