[geeklog-cvs] geeklog-1.3/public_html/admin user.php,1.59,1.60
geeklog-cvs-admin at lists.geeklog.net
geeklog-cvs-admin at lists.geeklog.net
Thu Aug 21 05:29:13 EDT 2003
Update of /usr/cvs/geeklog/geeklog-1.3/public_html/admin
In directory geeklog_prod:/tmp/cvs-serv26291
Modified Files:
user.php
Log Message:
Batch added didn't use the $_CONF['emailstoriesperdefault'] setting, so that any new (batch-added) users were automatically subscribed to the Daily Digest (bug #55).
Index: user.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/admin/user.php,v
retrieving revision 1.59
retrieving revision 1.60
diff -C2 -d -r1.59 -r1.60
*** user.php 4 Aug 2003 19:42:06 -0000 1.59
--- user.php 21 Aug 2003 09:29:10 -0000 1.60
***************
*** 468,472 ****
DB_query("INSERT INTO {$_TABLES['group_assignments']} (ug_main_grp_id,ug_uid) values ($all_grp, $uid)");
DB_query("INSERT INTO {$_TABLES['userprefs']} (uid) VALUES ($uid)");
! DB_query("INSERT INTO {$_TABLES['userindex']} (uid) VALUES ($uid)");
DB_query("INSERT INTO {$_TABLES['usercomment']} (uid) VALUES ($uid)");
DB_query("INSERT INTO {$_TABLES['userinfo']} (uid) VALUES ($uid)");
--- 468,476 ----
DB_query("INSERT INTO {$_TABLES['group_assignments']} (ug_main_grp_id,ug_uid) values ($all_grp, $uid)");
DB_query("INSERT INTO {$_TABLES['userprefs']} (uid) VALUES ($uid)");
! if ($_CONF['emailstoriesperdefault'] == 1) {
! DB_query("INSERT INTO {$_TABLES['userindex']} (uid) VALUES ($uid)");
! } else {
! DB_query("INSERT INTO {$_TABLES['userindex']} (uid,etids) VALUES ($uid, '-')");
! }
DB_query("INSERT INTO {$_TABLES['usercomment']} (uid) VALUES ($uid)");
DB_query("INSERT INTO {$_TABLES['userinfo']} (uid) VALUES ($uid)");
More information about the geeklog-cvs
mailing list