diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-10-28 18:21:44 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-10-29 15:04:55 +0100 |
commit | 40fe6c6346b441da6b353376bc73f2a73a5fe731 (patch) | |
tree | cdd10ed8f057ec153af5e519dd86710d67e73e3b /lib/app.php | |
parent | 4d03b3dbaf9d2f949d113406ac15961c93866c71 (diff) | |
download | nextcloud-server-40fe6c6346b441da6b353376bc73f2a73a5fe731.tar.gz nextcloud-server-40fe6c6346b441da6b353376bc73f2a73a5fe731.zip |
Remove subnavigation key, not used
Diffstat (limited to 'lib/app.php')
-rwxr-xr-x | lib/app.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/app.php b/lib/app.php index 9e1b88635c8..231037cbd3b 100755 --- a/lib/app.php +++ b/lib/app.php @@ -319,7 +319,6 @@ class OC_App{ /// This is private as well. It simply works, so don't ask for more details private static function proceedNavigation( $list ) { foreach( $list as &$naventry ) { - $naventry['subnavigation'] = array(); if( $naventry['id'] == self::$activeapp ) { $naventry['active'] = true; } @@ -469,8 +468,6 @@ class OC_App{ * 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 - * - children: array that is empty if the key 'active' is false or - * contains the subentries if the key 'active' is true */ public static function getNavigation() { $navigation = self::proceedNavigation( self::$navigation ); |