Suppression profil
This commit is contained in:
parent
4f70869ecf
commit
dabd2fe935
@ -147,7 +147,18 @@ class ProfilController extends Zend_Controller_Action
|
||||
|
||||
public function delAction()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
$idprofil = $request->getParam('idprofil');
|
||||
|
||||
$db = Zend_Registry::get('db');
|
||||
$commandesM = new Application_Model_Commandes($db);
|
||||
$data = array(
|
||||
'idProfil' => $idprofil,
|
||||
);
|
||||
|
||||
$commandesM->delete("id=$idfile");
|
||||
|
||||
$this->redirect('/');
|
||||
}
|
||||
|
||||
public function helpAction()
|
||||
|
Loading…
Reference in New Issue
Block a user