public function Delete($pa_options = null)
 {
     if ($this->_isDisplayEditable()) {
         return parent::Delete($pa_options);
     }
     return false;
 }
 public function Delete($pa_options = null)
 {
     parent::Delete($pa_options);
     # unset default item because it's from the now-deleted list
     $this->request->session->setVar('ca_list_items_browse_last_id', null);
     $this->request->session->setVar('ca_lists_browse_last_id', null);
 }
 public function Delete($pa_options = null)
 {
     list($vn_subject_id, $t_subject, $t_ui) = $this->_initView($pa_options);
     if (!$vn_subject_id) {
         return;
     }
     if (!$this->UserCanDeleteSet($t_subject->get('user_id'))) {
         $this->postError(2320, _t("Access denied"), "SetsEditorController->Delete()");
     } else {
         parent::Delete($pa_options);
     }
 }