[Fusionforge-commits] FusionForge branch master updated. caac8005400c379feb878fa60441761bc00aa01d
Franck Villaume
nerville at fusionforge.org
Sun Sep 7 11:15:32 CEST 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 caac8005400c379feb878fa60441761bc00aa01d (commit)
from 1823904bab245f6db45d828ad88ba2fd060a1066 (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 caac8005400c379feb878fa60441761bc00aa01d
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date: Sun Sep 7 11:13:53 2014 +0200
indent
diff --git a/src/common/include/system/UNIX.class.php b/src/common/include/system/UNIX.class.php
index 4e306c8..8c4471e 100644
--- a/src/common/include/system/UNIX.class.php
+++ b/src/common/include/system/UNIX.class.php
@@ -24,27 +24,28 @@ require_once $gfcommon.'include/System.class.php';
class UNIX extends System {
/**
- * Value to add to unix_uid to get unix uid
- *
- * @var constant $UID_ADD
- */
+ * Value to add to unix_uid to get unix uid
+ *
+ * @var constant $UID_ADD
+ */
var $UID_ADD = 20000;
/**
- * UNIX() - CONSTRUCTOR
- *
- */
+ * UNIX() - CONSTRUCTOR
+ *
+ */
function UNIX() {
$this->System();
return true;
}
+
/**
- * sysCreateUser() - Create a user
- *
- * @param int $user_id The user ID of the user to create
- * @return bool The return status
- *
- */
+ * sysCreateUser() - Create a user
+ *
+ * @param int $user_id The user ID of the user to create
+ * @return bool The return status
+ *
+ */
function sysCreateUser($user_id) {
$user = user_get_object($user_id);
if (!$user) {
@@ -68,12 +69,12 @@ class UNIX extends System {
}
/**
- * sysRemoveUser() - Remove a user
- *
- * @param int $user_id The user ID of the user to remove
- * @return bool true on success/false on failure
- *
- */
+ * sysRemoveUser() - Remove a user
+ *
+ * @param int $user_id The user ID of the user to remove
+ * @return bool true on success/false on failure
+ *
+ */
function sysRemoveUser($user_id) {
$res = db_query_params ('UPDATE users SET unix_status=$1 WHERE user_id=$2',
array ('N',
@@ -86,16 +87,16 @@ class UNIX extends System {
}
/*
- * Group management functions
- */
+ * Group management functions
+ */
/**
- * sysCheckGroup() - Check for the existence of a group
- *
- * @param int $group_id The ID of the group to check
- * @return bool true on success/false on error
- *
- */
+ * sysCheckGroup() - Check for the existence of a group
+ *
+ * @param int $group_id The ID of the group to check
+ * @return bool true on success/false on error
+ *
+ */
function sysCheckGroup($group_id) {
$group = group_get_object($group_id);
if (!$group){
@@ -105,12 +106,12 @@ class UNIX extends System {
}
/**
- * sysCreateGroup() - Create a group
- *
- * @param int $group_id The ID of the group to create
- * @return bool true on success/false on error
- *
- */
+ * sysCreateGroup() - Create a group
+ *
+ * @param int $group_id The ID of the group to create
+ * @return bool true on success/false on error
+ *
+ */
function sysCreateGroup($group_id) {
$group = group_get_object($group_id);
if (!$group) {
-----------------------------------------------------------------------
Summary of changes:
src/common/include/system/UNIX.class.php | 67 +++++++++++++++---------------
1 file changed, 34 insertions(+), 33 deletions(-)
hooks/post-receive
--
FusionForge
More information about the Fusionforge-commits
mailing list