public function update() { $request = Zend_Controller_Front::getInstance()->getRequest(); // Check if we are in the public module if ($request->getParam('isAdmin') == 1) { $updateService = new FFR_Service_Update(); if ($updateService->checkForUpdate($request->getModuleName()) == FFR_Db_Schema_Manager::RESULT_MIGRATIONS_FOUND) { return $this->view->render('helpers/update-needed.phtml'); } return false; } }