From 7c73fce64b9256c6f5c1e5cf060ee7b9adaa4511 Mon Sep 17 00:00:00 2001 From: rob Date: Fri, 31 Jan 2003 12:57:45 +0000 Subject: [PATCH] Adds users to the db. For testing purposes only --- userCreate.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/userCreate.php b/userCreate.php index 9f8ca16..f30b604 100644 --- a/userCreate.php +++ b/userCreate.php @@ -1,16 +1,12 @@ db; db->query("INSERT INTO users (username, name, password, quota_max, quota_current, email, mobile, email_notification, sms_notification, ldap_dn, max_sessions, language_id) " . - "VALUES ('admin" . $i . "', 'Administrator', '21232f297a57a5a743894a0e4a801fc3', 0, 0, '', '', 1, 1, '', 10000, 1)"); + "VALUES ('admin'" . $i . "', 'Administrator', '21232f297a57a5a743894a0e4a801fc3', 0, 0, '', '', 1, 1, '', 10000, 1)"); db->query("INSERT INTO users_groups_link (group_id, user_id) SELECT 1, ID FROM users where username = 'admin" . $i . "'"); } -- libgit2 0.21.4