summaryrefslogtreecommitdiff
path: root/inc/auth_pgsql.php
diff options
context:
space:
mode:
authormatthias.grimm <matthias.grimm@users.sourceforge.net>2005-05-08 20:31:40 +0200
committermatthias.grimm <matthias.grimm@users.sourceforge.net>2005-05-08 20:31:40 +0200
commit7c37db8ace6aa37def9e7e926b8e8be34d4cde82 (patch)
tree4ca5dfc1ce04b5bc60cddb35865e577973343755 /inc/auth_pgsql.php
parent919eeb46b9cf5cee0b72c69800ec2cbde1c46056 (diff)
downloadrpg-7c37db8ace6aa37def9e7e926b8e8be34d4cde82.tar.gz
rpg-7c37db8ace6aa37def9e7e926b8e8be34d4cde82.tar.bz2
mysql create user function
This patch adds the missing function createuser in the mysql auth module. Some new SQL statements have to be defined so that it works: $conf['auth']['mysql']['getgroupid'] to get the ID of a given group $conf['auth']['mysql']['adduser'] to add a user to the database $conf['auth']['mysql']['addusergroup'] to let the user join a given group darcs-hash:20050508183140-45302-de96a42fd79801a5e9ab14cb476f56b2c9432d7c.gz
Diffstat (limited to 'inc/auth_pgsql.php')
-rw-r--r--inc/auth_pgsql.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/auth_pgsql.php b/inc/auth_pgsql.php
index 0bbea07e7..e9c36eb58 100644
--- a/inc/auth_pgsql.php
+++ b/inc/auth_pgsql.php
@@ -103,7 +103,7 @@ function auth_getUserData($user){
*
* @author Andreas Gohr <andi@splitbrain.org>
*/
-function auth_createUser($user,$name,$mail){
+function auth_createUser($user,$pass,$name,$mail){
msg("Sorry. Creating users is not supported by the PgSQL backend, yet",-1);
return null;
}