summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/app.php
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-02-09 08:42:27 +0100
committerJulius Härtl <jus@bitgrid.net>2018-02-12 17:22:33 +0100
commitada5aed35ee23048f7a02c9cd4e554600998124a (patch)
treedc29ae78b2b8565828669fc61877114bc8d15317 /lib/private/legacy/app.php
parent39529851a8899496b1a3c08ac37d6ad73f80ec50 (diff)
downloadnextcloud-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.php2
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.