diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-12-04 17:23:51 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-12-04 17:23:51 +0100 |
commit | e6d4496fc2a924c3682ae205226cce80ee401cbd (patch) | |
tree | 8f8ea8c22a2546f2a5b117f8bb6916a773702592 /lib/private/app.php | |
parent | e91eba4b5bd856cb1ef81996ace6d16c09f1bb01 (diff) | |
download | nextcloud-server-e6d4496fc2a924c3682ae205226cce80ee401cbd.tar.gz nextcloud-server-e6d4496fc2a924c3682ae205226cce80ee401cbd.zip |
Remove unused setActiveNavigationEntry of OC_App - it's also in OCP\App
Diffstat (limited to 'lib/private/app.php')
-rw-r--r-- | lib/private/app.php | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/private/app.php b/lib/private/app.php index c6e235eda4d..78b039b87f0 100644 --- a/lib/private/app.php +++ b/lib/private/app.php @@ -361,23 +361,6 @@ class OC_App { } /** - * marks a navigation entry as active - * - * @param string $id id of the entry - * @return bool - * - * This function sets a navigation entry as active and removes the 'active' - * property from all other entries. The templates can use this for - * highlighting the current position of the user. - * - * @deprecated Use \OC::$server->getNavigationManager()->setActiveEntry() instead - */ - public static function setActiveNavigationEntry($id) { - OC::$server->getNavigationManager()->setActiveEntry($id); - return true; - } - - /** * gets the active Menu entry * * @return string id or empty string |