summaryrefslogtreecommitdiffstats
path: root/settings/admin.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-12-04 17:23:51 +0100
committerMorris Jobke <hey@morrisjobke.de>2015-12-04 17:23:51 +0100
commite6d4496fc2a924c3682ae205226cce80ee401cbd (patch)
tree8f8ea8c22a2546f2a5b117f8bb6916a773702592 /settings/admin.php
parente91eba4b5bd856cb1ef81996ace6d16c09f1bb01 (diff)
downloadnextcloud-server-e6d4496fc2a924c3682ae205226cce80ee401cbd.tar.gz
nextcloud-server-e6d4496fc2a924c3682ae205226cce80ee401cbd.zip
Remove unused setActiveNavigationEntry of OC_App - it's also in OCP\App
Diffstat (limited to 'settings/admin.php')
-rw-r--r--settings/admin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/admin.php b/settings/admin.php
index bccb1171743..ae4340cf14f 100644
--- a/settings/admin.php
+++ b/settings/admin.php
@@ -33,7 +33,7 @@
use OC\Lock\NoopLockingProvider;
OC_Util::checkAdminUser();
-OC_App::setActiveNavigationEntry("admin");
+\OC::$server->getNavigationManager()->setActiveEntry("admin");
$template = new OC_Template('settings', 'admin', 'user');
$l = \OC::$server->getL10N('settings');