/**
  * Deletes an aspect
  *
  * @throws class_exception
  * @return string
  */
 protected function actionDeleteAspect()
 {
     $objAspect = new class_module_system_aspect($this->getSystemid());
     if ($objAspect->rightDelete() && $objAspect->rightRight5()) {
         if (!$objAspect->deleteObject()) {
             throw new class_exception("Error deleting aspect", class_exception::$level_ERROR);
         }
         $this->adminReload(class_link::getLinkAdminHref($this->getArrModule("modul"), "aspects"));
     } else {
         return $this->getLang("commons_error_permissions");
     }
     return "";
 }