/**
  * @return bool
  * @throws Git_Mirror_MirrorNotFoundException
  */
 public function delete($id)
 {
     $mirror = $this->fetch($id);
     if (!$this->dao->delete($id)) {
         return false;
     }
     $user = $this->user_manager->getUserById($mirror->owner_id);
     $user->setStatus(PFUser::STATUS_DELETED);
     $this->user_manager->updateDb($user);
     $this->git_system_event_manager->queueDeleteMirror($id, $mirror->hostname);
     return true;
 }