[Fusionforge-commits] FusionForge branch Branch_5_3 updated. 683fc093ac119b4ff396ad71ad4694df5ab15bb8

Franck VILLAUME nerville at fusionforge.org
Mon Feb 17 15:12:09 CET 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, Branch_5_3 has been updated
       via  683fc093ac119b4ff396ad71ad4694df5ab15bb8 (commit)
      from  ba13cd36b1df80e84b0a601117752476f737ca41 (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 683fc093ac119b4ff396ad71ad4694df5ab15bb8
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Mon Feb 17 15:11:33 2014 +0100

    RBAC: remove double entry in switch

diff --git a/src/common/include/RBACEngine.class.php b/src/common/include/RBACEngine.class.php
index e814d40..f07d2ed 100644
--- a/src/common/include/RBACEngine.class.php
+++ b/src/common/include/RBACEngine.class.php
@@ -366,10 +366,6 @@ class RBACEngine extends Error implements PFO_RBACEngine {
 			case 'submit':
 				$qpa = db_construct_qpa ($qpa, 'AND (perm_val & 8) = 8');
 				break;
-			case 'vote':
-				$qpa = db_construct_qpa ($qpa, 'AND (perm_val & 16) = 16');
-				break;
-			}
 			break;
 		case 'pm':
 			switch ($action) {

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

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


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list