From 40fe6c6346b441da6b353376bc73f2a73a5fe731 Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Sun, 28 Oct 2012 18:21:44 +0100 Subject: [PATCH] Remove subnavigation key, not used --- lib/app.php | 3 --- 1 file changed, 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 );