public function actionDelete() { $order = CSABManager::getSABPersonOrder(CRequest::getInt("id")); $person = $order->person_id; $order->remove(); $this->redirect("index.php?action=edit&id=" . $person); }