protected function beforeDelete() { if (!parent::beforeDelete()) { return false; } ReadPermissionsOptimizationUtil::groupBeingDeleted($this); return true; }