CC-3547 : Refactoring Views, removing action stack to better work with permissions. Reorganizing Statistics Dialog.

This commit is contained in:
Naomi Aro 2012-03-29 15:34:58 +02:00
parent 1b8a967cc0
commit f48c5ff575
26 changed files with 173 additions and 513 deletions

View file

@ -12,6 +12,8 @@ class UsersettingsController extends Zend_Controller_Action
->addActionContext('set-library-datatable', 'json')
->addActionContext('get-timeline-datatable', 'json')
->addActionContext('set-timeline-datatable', 'json')
->addActionContext('register', 'json')
->addActionContext('remindme', 'json')
->initContext();
}
@ -65,4 +67,17 @@ class UsersettingsController extends Zend_Controller_Action
$this->view->settings = unserialize($data);
}
}
public function remindmeAction()
{
// unset session
Zend_Session::namespaceUnset('referrer');
Application_Model_Preference::SetRemindMeDate();
}
public function donotshowregistrationpopupAction()
{
// unset session
Zend_Session::namespaceUnset('referrer');
}
}