[Fusionforge-commits] FusionForge branch Branch_5_3 updated. 15eeff5d872304166e06bbb010b8ad36600d7248
Franck VILLAUME
nerville at fusionforge.org
Fri Feb 7 17:04:18 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 15eeff5d872304166e06bbb010b8ad36600d7248 (commit)
from 4515115b5c08987294566d229ceec35d0627e5cc (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 15eeff5d872304166e06bbb010b8ad36600d7248
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 504624d..2b8129d 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