/**
  * @param CEvent $event
  * @return bool
  */
 public function readPermissionSubscriptionOnAfterDelete(CEvent $event)
 {
     if ($this->enabled) {
         if (get_class($event->sender) == 'Account') {
             ReadPermissionsSubscriptionUtil::updateAccountReadSubscriptionTableBasedOnBuildTable($event->sender->id);
         } else {
             ReadPermissionsSubscriptionUtil::deleteModelFromReadSubscriptionTableByModelIdAndModelClassNameAndUser($event->sender->id, get_class($event->sender), $event->sender->owner);
         }
     }
     return true;
 }