[Fusionforge-commits] FusionForge branch master updated. 285a2055529b8b105f2d4d570e7b426292304047

Franck VILLAUME nerville at fusionforge.org
Fri Feb 7 17:05:04 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, master has been updated
       via  285a2055529b8b105f2d4d570e7b426292304047 (commit)
      from  bfbe59a68814c74eb093252b73c6a97443b3c1fc (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 285a2055529b8b105f2d4d570e7b426292304047
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Fri Feb 7 17:00:42 2014 +0100

    project admin: add entry in history when role is linked/unlinked

diff --git a/src/www/project/admin/users.php b/src/www/project/admin/users.php
index 37fa347..b81067f 100644
--- a/src/www/project/admin/users.php
+++ b/src/www/project/admin/users.php
@@ -1,5 +1,5 @@
 <?php
-/*-
+/**
  * Project Admin Users Page
  *
  * Copyright 2004 GForge, LLC
@@ -8,6 +8,7 @@
  *	Thorsten Glaser <t.glaser at tarent.de>
  * Copyright 2011, Roland Mas
  * Copyright 2014, Stéphane-Eymeric Bredthauer
+ * Copyright 2014, Franck Villaume - TrivialDev
  * All rights reserved.
  * http://fusionforge.org
  *
@@ -188,6 +189,7 @@ if (getStringFromRequest('submit')) {
 					$error_msg = $r->getErrorMessage();
 				} else {
 					$feedback = _("Role linked successfully");
+					$group->addHistory(_('Linked Role'), $r->getName());
 					cache_external_roles () ;
 				}
 			}
@@ -201,6 +203,7 @@ if (getStringFromRequest('submit')) {
 					$error_msg = $r->getErrorMessage();
 				} else {
 					$feedback = _("Role unlinked successfully");
+					$group->addHistory(_('Unlinked Role'), $r->getName());
 					cache_external_roles () ;
 				}
 			}

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

Summary of changes:
 src/www/project/admin/users.php |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list