/** * Archives MOTDs. MOTDs are not visible in either the CMS or Connect, but * remain in the datastore. */ public function archiveMotdAction() { $this->view->currentPage = 'connect'; $motds = new Datasource_Cms_Connect_Motd(); $motdID = $this->getRequest()->getParam('id'); $motds->setArchivedStatus($motdID, true); //Changes saved - so send them back with a nice success message $this->_helper->getHelper('FlashMessenger')->addMessage(array('deleted' => true)); $this->_helper->getHelper('Redirector')->goToUrl('/cms-admin/connect/motd'); }