Skip to content

Commit

Permalink
chore: Drop \OC_App::getNavigation
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
  • Loading branch information
ChristophWurst committed Jun 1, 2023
1 parent e76d525 commit 167763d
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions lib/private/legacy/OC_App.php
Expand Up @@ -394,21 +394,6 @@ public static function getAppVersionByPath(string $path): string {
return isset($appData['version']) ? $appData['version'] : '';
}

/**
* Returns the navigation
*
* @return array
* @deprecated 14.0.0 use \OC::$server->getNavigationManager()->getAll()
*
* This function returns an array containing all entries added. The
* entries are sorted by the key 'order' ascending. Additional to the keys
* given for each app the following keys exist:
* - active: boolean, signals if the user is on this navigation entry
*/
public static function getNavigation(): array {
return OC::$server->getNavigationManager()->getAll();
}

/**
* Returns the Settings Navigation
*
Expand Down

0 comments on commit 167763d

Please sign in to comment.