Update of /cvsroot/phpbt/phpbt/admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32304/admin
Modified Files:
user.php
Log Message:
Make the group "User" less special (don't force everyone into it)
Index: user.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/user.php,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- user.php 29 Aug 2005 19:14:13 -0000 1.52
+++ user.php 3 Sep 2005 16:41:48 -0000 1.53
@@ -65,9 +65,6 @@
}
// Add to prefs
$db->query("INSERT INTO ".TBL_USER_PREF." (user_id, email_notices) VALUES ($new_user_id, '{$_POST['fe_notice']}')");
-
- // And add to the user group
- $db->query("insert into ".TBL_USER_GROUP." (user_id, group_id, created_by, created_date) select $new_user_id, group_id, $u, $now from ".TBL_AUTH_GROUP." where group_name = 'User'");
} else {
if (ENCRYPT_PASS) {
$oldpass = $db->getOne("select password from ".TBL_AUTH_USER." where user_id = $userid");
|