From 7c37db8ace6aa37def9e7e926b8e8be34d4cde82 Mon Sep 17 00:00:00 2001 From: "matthias.grimm" Date: Sun, 8 May 2005 20:31:40 +0200 Subject: 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 --- inc/auth_pgsql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/auth_pgsql.php') 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 */ -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; } -- cgit v1.2.3