CC-4307: Add "Never show again" to the pop-up registration prompt
-done
This commit is contained in:
parent
ee54ef2b81
commit
3d20ded170
3 changed files with 33 additions and 5 deletions
|
@ -13,6 +13,7 @@ class UsersettingsController extends Zend_Controller_Action
|
|||
->addActionContext('get-timeline-datatable', 'json')
|
||||
->addActionContext('set-timeline-datatable', 'json')
|
||||
->addActionContext('remindme', 'json')
|
||||
->addActionContext('remindme-never', 'json')
|
||||
->addActionContext('donotshowregistrationpopup', 'json')
|
||||
->initContext();
|
||||
}
|
||||
|
@ -88,6 +89,13 @@ class UsersettingsController extends Zend_Controller_Action
|
|||
Zend_Session::namespaceUnset('referrer');
|
||||
Application_Model_Preference::SetRemindMeDate();
|
||||
}
|
||||
|
||||
public function remindmeNeverAction()
|
||||
{
|
||||
Zend_Session::namespaceUnset('referrer');
|
||||
//pass in true to indicate 'Remind me never' was clicked
|
||||
Application_Model_Preference::SetRemindMeDate(true);
|
||||
}
|
||||
|
||||
public function donotshowregistrationpopupAction()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue