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, 6.1 has been updated
via 559dd7aa4e7f3e5d4b519d83d7d897226fdc27f6 (commit)
from cd681482f8d37f84a29b18426977a29bf9244b0f (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 -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=559dd7aa4e7f3e5d4b519d83d7d897226fdc27f6
commit 559dd7aa4e7f3e5d4b519d83d7d897226fdc27f6
Author: Franck Villaume <[email protected]>
Date: Sat Dec 30 15:18:41 2017 +0100
tabs
diff --git a/src/common/include/system/UNIX.class.php
b/src/common/include/system/UNIX.class.php
index 3659244..fa0484e 100644
--- a/src/common/include/system/UNIX.class.php
+++ b/src/common/include/system/UNIX.class.php
@@ -47,16 +47,16 @@ class UNIX extends System {
if (!$user) {
return false;
} else {
- $res = db_query_params ('UPDATE users SET
- unix_uid=user_id+$1,
- unix_status=$2
- WHERE user_id=$3',
- array ($this->UID_ADD,
- 'A',
- $user_id)) ;
- if (!$res) {
- $this->setError('Error:
Cannot Update User UID/GID: '.db_error());
- return false;
+ $res = db_query_params('UPDATE users SET
+ unix_uid=user_id+$1,
+ unix_status=$2
+ WHERE user_id=$3',
+ array($this->UID_ADD,
+ 'A',
+ $user_id));
+ if (!$res) {
+ $this->setError('Error: Cannot Update User
UID/GID: '.db_error());
+ return false;
}
}
return parent::sysCreateUser($user_id);
-----------------------------------------------------------------------
Summary of changes:
src/common/include/system/UNIX.class.php | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits