function removeFromSystemObject() { global $rbacsystem; include_once "./Services/Repository/classes/class.ilRepUtilGUI.php"; $ru = new ilRepUtilGUI($this); $ru->removeObjectsFromSystem($_POST["id"], true); $this->ctrl->redirect($this, "view"); }
/** * remove objects from trash bin and all entries therefore every object needs a specific deleteObject() method * * @access public */ public function removeFromSystemObject() { global $log, $ilAppEventHandler, $lng; include_once "./Services/Repository/classes/class.ilRepUtilGUI.php"; $ru = new ilRepUtilGUI($this); $ru->removeObjectsFromSystem($_POST["trash_id"]); $this->ctrl->redirect($this, "trash"); }