public function group_del() { if ($this->inGroup(13, true)) { require_once dirname(__FILE__) . '/resources/group.php'; $group = new GroupAction($this->parent); return $group->del(); } else { return new ActionResult($this, '/admin/user/group_view', 1, 'You are not allowed to do that', B_T_FAIL); } }