[Fusionforge-commits] r10717 - trunk/src/common/include

Roland Mas lolando at libremir.placard.fr.eu.org
Sun Sep 26 17:46:32 CEST 2010


Author: lolando
Date: 2010-09-26 17:46:32 +0200 (Sun, 26 Sep 2010)
New Revision: 10717

Modified:
   trunk/src/common/include/RBAC.php
Log:
Missing global

Modified: trunk/src/common/include/RBAC.php
===================================================================
--- trunk/src/common/include/RBAC.php	2010-09-26 15:36:00 UTC (rev 10716)
+++ trunk/src/common/include/RBAC.php	2010-09-26 15:46:32 UTC (rev 10717)
@@ -1168,6 +1168,8 @@
 
 abstract class RoleExplicit extends BaseRole implements PFO_RoleExplicit {
 	public function addUsers ($users) {
+		global $SYS;
+
 		$ids = array () ;
 		foreach ($users as $user) {
 			$ids[] = $user->getID() ;
@@ -1200,6 +1202,8 @@
 	}
 
 	public function removeUsers($users) {
+		global $SYS;
+
 		$ids = array () ;
 		foreach ($users as $user) {
 			$ids[] = $user->getID() ;




More information about the Fusionforge-commits mailing list