From 713d86f435d66ec0814e50258c857fe0966be775 Mon Sep 17 00:00:00 2001 From: Dimitris Efstathiou Date: Wed, 4 Oct 2017 16:53:19 +0300 Subject: [PATCH] pkp/pkp-lib#2178 installNavigationMenus function transfered to lib-pkp --- classes/install/Upgrade.inc.php | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/classes/install/Upgrade.inc.php b/classes/install/Upgrade.inc.php index 6eb901bff88..28867293044 100644 --- a/classes/install/Upgrade.inc.php +++ b/classes/install/Upgrade.inc.php @@ -2493,23 +2493,6 @@ function moveCSSFiles() { } return true; } - - /** - * For 3.1.0 upgrade. DefaultMenus Defaults - */ - function installDefaultNavigationMenus() { - $contextDao = Application::getContextDAO(); - $navigationMenuDao = DAORegistry::getDAO('NavigationMenuDAO'); - - $contexts = $contextDao->getAll(); - while ($context = $contexts->next()) { - $navigationMenuDao->installSettings($context->getId(), 'registry/navigationMenus.xml'); - } - - $navigationMenuDao->installSettings(CONTEXT_ID_NONE, 'registry/navigationMenus.xml'); - - return true; - } } ?>