[Fusionforge-commits] FusionForge branch master updated. 4e8283883fe07851b3c8822829f850f78e54fbdd

Marc-Etienne VARGENAU vargenau at fusionforge.org
Thu Dec 26 19:03:45 CET 2013


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  4e8283883fe07851b3c8822829f850f78e54fbdd (commit)
      from  27dc39237c4df166e66cbf3c0ac15c8be7fa4d74 (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 4e8283883fe07851b3c8822829f850f78e54fbdd
Author: vargenau <Marc-Etienne.Vargenau at alcatel-lucent.com>
Date:   Thu Dec 26 19:05:02 2013 +0100

    Update PHP Doc

diff --git a/src/common/include/Role.class.php b/src/common/include/Role.class.php
index 517c999..5b90ca5 100644
--- a/src/common/include/Role.class.php
+++ b/src/common/include/Role.class.php
@@ -149,16 +149,17 @@ class Role extends RoleExplicit implements PFO_RoleExplicit {
 	 *
 	 *	@param	string	$role_name	The name of the role.
 	 *	@param	array	$data		A multi-dimensional array of data in this format: $data['section_name']['ref_id']=$val
+	 *	@param  bool    $new_project
 	 *	@return bool|int			The id on success or false on failure.
 	 */
-	function create($role_name, $data, $newproject=false) {
+	function create($role_name, $data, $new_project=false) {
 		if ($this->Group == NULL) {
 			if (!forge_check_global_perm('forge_admin')) {
 				$this->setPermissionDeniedError();
 				return false;
 			}
 		}
-		if ($newproject) {
+		if ($new_project) {
 			if (!forge_check_global_perm('approve_projects')) {
 				$this->setPermissionDeniedError();
 				return false;
@@ -227,7 +228,7 @@ class Role extends RoleExplicit implements PFO_RoleExplicit {
 
 	/**
 	 * TODO: Enter description here ...
-	 * @param unknown_type $name
+	 * @param string $name
 	 * @return Ambiguous <number, boolean, contents>|boolean
 	 */
 	function createDefault($name) {
diff --git a/src/www/admin/admin_table.php b/src/www/admin/admin_table.php
index 40a2a46..63fb257 100644
--- a/src/www/admin/admin_table.php
+++ b/src/www/admin/admin_table.php
@@ -67,7 +67,6 @@ function admin_table_add($table, $unit, $primary_key) {
  *
  *	@param $table - the table to act on
  *	@param $unit - the name of the "units" described by the table's records
- *	@param $primary_key - the primary key of the table
  */
 function admin_table_postadd($table, $unit) {
 	if (!form_key_is_valid(getStringFromRequest('form_key'))) {

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

Summary of changes:
 src/common/include/Role.class.php |    7 ++++---
 src/www/admin/admin_table.php     |    1 -
 2 files changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list