[Fusionforge-commits] FusionForge branch master updated. ada8eb7c42687c621e32d89f3d2e30c827636d91

Roland Mas lolando at fusionforge.org
Fri Apr 18 17:50:20 CEST 2014


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  ada8eb7c42687c621e32d89f3d2e30c827636d91 (commit)
      from  7265ae0b18117f6cae2c4bbd72fd452db92ab744 (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 ada8eb7c42687c621e32d89f3d2e30c827636d91
Author: Roland Mas <roland at gnurandal.com>
Date:   Fri Apr 18 17:50:16 2014 +0200

    Removed one global

diff --git a/src/common/include/Role.class.php b/src/common/include/Role.class.php
index 7b751d2..1c41719 100644
--- a/src/common/include/Role.class.php
+++ b/src/common/include/Role.class.php
@@ -350,8 +350,6 @@ class Role extends RoleExplicit implements PFO_RoleExplicit {
 	 * @return	boolean	True on success or false on failure.
 	 */
 	function setUser($user_id) {
-		global $SYS;
-
 		if ($this->Group == NULL) {
 			if (!forge_check_global_perm ('forge_admin')) {
 				$this->setPermissionDeniedError();

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

Summary of changes:
 src/common/include/Role.class.php |    2 --
 1 file changed, 2 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list