public function actionDelete() { $object = CBaseManager::getDashboardItem(CRequest::getInt("id")); $group = $object->group_id; $object->remove(); $this->redirect("groupdashboard.php?action=index&id=" . $group); }