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

Franck VILLAUME nerville at fusionforge.org
Sun Jan 29 19:04:39 CET 2012


Author: nerville
Date: 2012-01-29 19:04:39 +0100 (Sun, 29 Jan 2012)
New Revision: 15039

Modified:
   trunk/src/common/include/Role.class.php
Log:
fix indent

Modified: trunk/src/common/include/Role.class.php
===================================================================
--- trunk/src/common/include/Role.class.php	2012-01-29 18:01:20 UTC (rev 15038)
+++ trunk/src/common/include/Role.class.php	2012-01-29 18:04:39 UTC (rev 15039)
@@ -152,17 +152,17 @@
 	 */
 	function create($role_name, $data, $newproject=false) {
 		if ($this->Group == NULL) {
-			if (!forge_check_global_perm ('forge_admin')) {
+			if (!forge_check_global_perm('forge_admin')) {
 				$this->setPermissionDeniedError();
 				return false;
 			}
 		}
 		if ($newproject) {
-			if (!forge_check_global_perm ('approve_projects')) {
+			if (!forge_check_global_perm('approve_projects')) {
 				$this->setPermissionDeniedError();
 				return false;
 			}
-		} elseif (!forge_check_perm ('project_admin', $this->Group->getID())) {
+		} elseif (!forge_check_perm('project_admin', $this->Group->getID())) {
 			$this->setPermissionDeniedError();
 			return false;
 		}




More information about the Fusionforge-commits mailing list