[Fusionforge-commits] FusionForge branch master updated. 5ac4cccafab11ead8b4ce5d3198569328318420e

Roland Mas lolando at fusionforge.org
Tue Jul 16 11:06:17 CEST 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  5ac4cccafab11ead8b4ce5d3198569328318420e (commit)
      from  ff3b3603eb86637e054916c620cb769aea4e4db8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5ac4cccafab11ead8b4ce5d3198569328318420e
Author: Roland Mas <lolando at debian.org>
Date:   Tue Jul 16 10:59:50 2013 +0200

    Removed unused code to fix a PHP warning

diff --git a/src/common/include/Navigation.class.php b/src/common/include/Navigation.class.php
index 1eef865..76021d6 100644
--- a/src/common/include/Navigation.class.php
+++ b/src/common/include/Navigation.class.php
@@ -351,8 +351,7 @@ class Navigation extends Error {
 		// rebuild menu if it has never been built before, or
 		// if the toptab was set differently
 		if (!isset($this->project_menu_data[$group_id])
-			|| ($toptab != "")
-			|| ($toptab != $this->project_menu_data[$group_id]['last_toptab'])) {
+			|| ($toptab != "")) {
 			// get the group and permission objects
 			$group = group_get_object($group_id);
 			if (!$group || !is_object($group)) {
@@ -594,9 +593,6 @@ class Navigation extends Error {
 
 			// store selected menu item (if any)
 			$menu['selected'] = $selected;
-			if ($toptab != "") {
-				$menu['last_toptab'] = $toptab;
-			}
 		}
 		return $this->project_menu_data[$group_id];
 	}

-----------------------------------------------------------------------

Summary of changes:
 src/common/include/Navigation.class.php |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list