Suppression de Session Ciblage
This commit is contained in:
parent
2697e8933d
commit
df5ebbdb7f
@ -48,21 +48,21 @@ class ComptageController extends Zend_Controller_Action
|
||||
|
||||
public function resetAction()
|
||||
{
|
||||
require_once 'Scores/SessionCiblage.php';
|
||||
$erreurs = new Zend_Session_Namespace('erreurs');
|
||||
$session = new SessionCiblage();
|
||||
$session->clearCiblage();
|
||||
|
||||
$fields = new Scores_Fields();
|
||||
$fields->clearCiblage();
|
||||
|
||||
unset($erreurs->erreurs);
|
||||
$this->_redirect('./');
|
||||
$this->_redirect('/');
|
||||
}
|
||||
|
||||
public function savedialogAction()
|
||||
{
|
||||
$this->_helper->layout()->disableLayout();
|
||||
//Récupération de la session pour le profil et les valeurs du comptage
|
||||
require_once 'Scores/SessionCiblage.php';
|
||||
$session = new SessionCiblage();
|
||||
$criteres = $session->getCriteres();
|
||||
$fields = new Scores_Fields();
|
||||
$criteres = $fields->getCriteres();
|
||||
$this->view->criteres = $criteres;
|
||||
|
||||
if (count($criteres) == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user