[Fusionforge-commits] FusionForge branch 6.1 updated. v6.0.5-2223-g9d8ea8b

Franck Villaume nerville at libremir.placard.fr.eu.org
Sun Oct 1 14:20:04 CEST 2017


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, 6.1 has been updated
       via  9d8ea8b3fd6c923eb503d4dbee3d9380d3090be5 (commit)
      from  fec7bc9a52832eea0d1b60d8aecf0ce8458b42d0 (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 -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=9d8ea8b3fd6c923eb503d4dbee3d9380d3090be5

commit 9d8ea8b3fd6c923eb503d4dbee3d9380d3090be5
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Sun Oct 1 14:19:43 2017 +0200

    remove unused vars

diff --git a/src/common/include/utils.php b/src/common/include/utils.php
index 2c88eab..81f3adb 100644
--- a/src/common/include/utils.php
+++ b/src/common/include/utils.php
@@ -1087,8 +1087,6 @@ function util_display_user($username, $user_id = 0, $text = '', $size = 'xs') {
 			return '';
 		}
 
-		$u2 = $user->getID();
-
 		$u2gl = $user->getGroupIds();
 		$seen = false;
 		foreach ($u2gl as $u2g) {
diff --git a/src/www/users b/src/www/users
index 9fc7cda..2c6be57 100644
--- a/src/www/users
+++ b/src/www/users
@@ -50,7 +50,6 @@ if (forge_get_config('restrict_users_visibility')) {
 	if (!$user || !is_object($user) || $user->isError() || !$user->isActive()) {
 		exit_permission_denied();
 	}
-	$u2 = $user->getID();
 
 	$u2gl = $user->getGroupIds();
 	$seen = false;

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

Summary of changes:
 src/common/include/utils.php | 2 --
 src/www/users                | 1 -
 2 files changed, 3 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list