/** * delete action allows to remove an existant user * * @ActionDefinition( layout='auth_layout.tpl', zone='content:users_display;', propel ) */ public function delete() { $response = AuthUsersBss::delete($this->request); if (is_array($response['data'])) { $this->response->pager = $response['pager']; $this->response->list = $response['data']; } else { $this->response->exception = $response; } }