public function coreUpdateRequest() { $this->checkXP(); if (!(bool) OW::getConfig()->getValue('base', 'update_soft')) { throw new Redirect404Exception(); } $newCoreInfo = $this->pluginService->getCoreInfoForUpdate(); $this->assign('text', OW::getLanguage()->text('admin', 'manage_plugins_core_update_request_text', array('oldVersion' => OW::getConfig()->getValue('base', 'soft_version'), 'newVersion' => $newCoreInfo['version'], 'info' => $newCoreInfo['info']))); $this->assign('redirectUrl', OW::getRouter()->urlFor('ADMIN_CTRL_Plugins', 'coreUpdate')); $this->assign('returnUrl', OW::getRouter()->urlForRoute('admin_default')); }