diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-02-09 08:42:27 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-02-12 17:22:33 +0100 |
commit | ada5aed35ee23048f7a02c9cd4e554600998124a (patch) | |
tree | dc29ae78b2b8565828669fc61877114bc8d15317 /lib/private/legacy/app.php | |
parent | 39529851a8899496b1a3c08ac37d6ad73f80ec50 (diff) | |
download | nextcloud-server-ada5aed35ee23048f7a02c9cd4e554600998124a.tar.gz nextcloud-server-ada5aed35ee23048f7a02c9cd4e554600998124a.zip |
Deprecate static methods and use Navigation manager
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/private/legacy/app.php')
-rw-r--r-- | lib/private/legacy/app.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/legacy/app.php b/lib/private/legacy/app.php index 6102de73693..cb2d3ca615f 100644 --- a/lib/private/legacy/app.php +++ b/lib/private/legacy/app.php @@ -586,6 +586,7 @@ class OC_App { * 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 @@ -600,6 +601,7 @@ class OC_App { * Returns the Settings Navigation * * @return string[] + * @deprecated 14.0.0 use \OC::$server->getNavigationManager()->getAll('settings') * * This function returns an array containing all settings pages added. The * entries are sorted by the key 'order' ascending. |