/** *listAction * * @return void */ public function deleteAction() { $id = (int) $this->getRequest()->getParam('id'); $userMapper = new User_Model_Mapper_User(); if( $userMapper->delete( $id ) ){ $this->addSystemSuccess('Suppression OK'); } else { $this->addSystemError('Suppression Ko'); } $this->_redirect( $this->_helper->url->url( array(), 'userList' )); }