[Fusionforge-commits] FusionForge branch master updated. ce710df3f290a85b9287e957b0306b754c80c45a

Alain Peyrat aljeux at fusionforge.org
Mon Oct 22 15:33:16 CEST 2012


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  ce710df3f290a85b9287e957b0306b754c80c45a (commit)
      from  0b5d3d25073417188d3fab99445461b16371d653 (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 ce710df3f290a85b9287e957b0306b754c80c45a
Author: Alain Peyrat <alain.peyrat at alcatel-lucent.com>
Date:   Mon Oct 22 15:33:04 2012 +0200

    group->getPermission() has no arguments

diff --git a/src/plugins/soapadmin/www/admin/index.php b/src/plugins/soapadmin/www/admin/index.php
index 185673b..1d1763e 100644
--- a/src/plugins/soapadmin/www/admin/index.php
+++ b/src/plugins/soapadmin/www/admin/index.php
@@ -58,7 +58,7 @@ function soapadmin_User_Header($params) {
 			if ( ! ($group->usesPlugin ( $pluginname )) ) {//check if the group has the SoapAdmin plugin active
 				exit_error("Error", "First activate the $pluginname plugin through the Project's Admin Interface");
 			}
-			$userperm = $group->getPermission($user);//we'll check if the user belongs to the group (optional)
+			$userperm = $group->getPermission();//we'll check if the user belongs to the group (optional)
 			if ( !$userperm->IsMember()) {
 				exit_error("Access Denied", "You are not a member of this project");
 			}
@@ -87,7 +87,7 @@ function soapadmin_User_Header($params) {
 			if ( ! ($group->usesPlugin ( $pluginname )) ) {//check if the group has the SoapAdmin plugin active
 				exit_error("Error", "First activate the $pluginname plugin through the Project's Admin Interface");
 			}
-			$userperm = $group->getPermission($user);//we'll check if the user belongs to the group
+			$userperm = $group->getPermission();//we'll check if the user belongs to the group
 			if ( !$userperm->IsMember()) {
 				exit_error("Access Denied", "You are not a member of this project");
 			}
diff --git a/src/plugins/soapadmin/www/index.php b/src/plugins/soapadmin/www/index.php
index 81ad470..9c01412 100644
--- a/src/plugins/soapadmin/www/index.php
+++ b/src/plugins/soapadmin/www/index.php
@@ -58,7 +58,7 @@ function soapadmin_User_Header($params) {
 			if ( ! ($group->usesPlugin ( $pluginname )) ) {//check if the group has the SoapAdmin plugin active
 				exit_error("Error", "First activate the $pluginname plugin through the Project's Admin Interface");
 			}
-			$userperm = $group->getPermission($user);//we'll check if the user belongs to the group (optional)
+			$userperm = $group->getPermission();//we'll check if the user belongs to the group (optional)
 			if ( !$userperm->IsMember()) {
 				exit_error("Access Denied", "You are not a member of this project");
 			}
@@ -87,7 +87,7 @@ function soapadmin_User_Header($params) {
 			if ( ! ($group->usesPlugin ( $pluginname )) ) {//check if the group has the SoapAdmin plugin active
 				exit_error("Error", "First activate the $pluginname plugin through the Project's Admin Interface");
 			}
-			$userperm = $group->getPermission($user);//we'll check if the user belongs to the group
+			$userperm = $group->getPermission();//we'll check if the user belongs to the group
 			if ( !$userperm->IsMember()) {
 				exit_error("Access Denied", "You are not a member of this project");
 			}

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

Summary of changes:
 src/plugins/soapadmin/www/admin/index.php |    4 ++--
 src/plugins/soapadmin/www/index.php       |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list