diff --git a/lib/private/legacy/app.php b/lib/private/legacy/app.php index d07ea860ceed..254f0cb6b893 100644 --- a/lib/private/legacy/app.php +++ b/lib/private/legacy/app.php @@ -460,20 +460,6 @@ public static function getSettingsNavigation() { $urlGenerator = \OC::$server->getURLGenerator(); $settings = []; - // by default, settings only contain the help menu - if (OC_Util::getEditionString() === OC_Util::EDITION_COMMUNITY && - \OC::$server->getSystemConfig()->getValue('knowledgebaseenabled', true) == true - ) { - $settings = [ - [ - "id" => "help", - "order" => 1000, - "href" => $urlGenerator->linkToRoute('settings_help'), - "name" => $l->t("Help"), - "icon" => $urlGenerator->imagePath("settings", "help.svg") - ] - ]; - } // if the user is logged-in if (OC_User::isLoggedIn()) { diff --git a/settings/routes.php b/settings/routes.php index 97df80900416..b3d56c742e3d 100644 --- a/settings/routes.php +++ b/settings/routes.php @@ -76,11 +76,9 @@ /** @var $this \OCP\Route\IRouter */ -// Settings pages -$this->create('settings_help', '/settings/help') - ->actionInclude('settings/help.php'); $this->create('settings_users', '/settings/users') ->actionInclude('settings/users.php'); + // Settings ajax actions // users $this->create('settings_ajax_setquota', '/settings/ajax/setquota.php')