/** * Delete profiles */ function deleteProfiles() { global $ilCtrl, $tpl, $lng; if (is_array($_POST["id"])) { foreach ($_POST["id"] as $i) { $prof = new ilSkillProfile($i); $prof->delete(); } ilUtil::sendInfo($lng->txt("msg_obj_modified"), true); } $ilCtrl->redirect($this, "listProfiles"); }