[Fusionforge-commits] FusionForge branch Branch_5_3 updated. e51eead1ec67057b43f68a86779fc8122f5911c7
Franck VILLAUME
nerville at fusionforge.org
Fri Jan 24 11:00:37 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 e51eead1ec67057b43f68a86779fc8122f5911c7 (commit)
from 965e49e33034971b0a9f359a1e909ec2419f9178 (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 e51eead1ec67057b43f68a86779fc8122f5911c7
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date: Fri Jan 24 10:59:33 2014 +0100
indent
diff --git a/src/common/include/Role.class.php b/src/common/include/Role.class.php
index 5b90ca5..458041d 100644
--- a/src/common/include/Role.class.php
+++ b/src/common/include/Role.class.php
@@ -36,12 +36,12 @@ class Role extends RoleExplicit implements PFO_RoleExplicit {
var $Group;
/**
- * Role($group,$id) - CONSTRUCTOR.
+ * Role - Constructor.
*
* @param object $group The Group object.
* @param int|bool $role_id The role_id.
- * @return bool
- */
+ * @return bool
+ */
function Role($Group, $role_id = false) {
$this->BaseRole();
if (!$Group || !is_object($Group) || $Group->isError()) {
@@ -117,7 +117,7 @@ class Role extends RoleExplicit implements PFO_RoleExplicit {
* isPublic - is this role public (accessible from projects
* other than its home project)?
*
- * @return boolean True if public
+ * @return boolean True if public
*/
function isPublic() { // From the PFO spec
return $this->data_array['is_public'];
@@ -149,8 +149,8 @@ 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.
+ * @param bool $new_project
+ * @return bool|int The id on success or false on failure.
*/
function create($role_name, $data, $new_project=false) {
if ($this->Group == NULL) {
@@ -228,8 +228,8 @@ class Role extends RoleExplicit implements PFO_RoleExplicit {
/**
* TODO: Enter description here ...
- * @param string $name
- * @return Ambiguous <number, boolean, contents>|boolean
+ * @param string $name
+ * @return Ambiguous <number, boolean, contents>|boolean
*/
function createDefault($name) {
if ($this->Group == NULL) {
@@ -345,8 +345,8 @@ class Role extends RoleExplicit implements PFO_RoleExplicit {
/**
* setUser -
- * @param int User ID
*
+ * @param int User ID
* @return boolean True on success or false on failure.
*/
function setUser($user_id) {
-----------------------------------------------------------------------
Summary of changes:
src/common/include/Role.class.php | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
hooks/post-receive
--
FusionForge
More information about the Fusionforge-commits
mailing list