Index: openacs-4/packages/acs-mail-lite/tcl/acs-mail-lite-procs-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-mail-lite/tcl/acs-mail-lite-procs-postgresql.xql,v diff -u -N -r1.4 -r1.5 --- openacs-4/packages/acs-mail-lite/tcl/acs-mail-lite-procs-postgresql.xql 2 May 2004 04:41:37 -0000 1.4 +++ openacs-4/packages/acs-mail-lite/tcl/acs-mail-lite-procs-postgresql.xql 29 Nov 2005 11:28:26 -0000 1.5 @@ -44,7 +44,7 @@ delete from acs_mail_lite_bounce - where user_id in (select user_id + where party_id in (select party_id from acs_mail_lite_mail_log where last_mail_date < current_timestamp - to_interval(:max_days_to_bounce, 'days')) @@ -68,15 +68,15 @@ update acs_mail_lite_mail_log set last_mail_date = current_timestamp - where user_id = :user_id + where party_id = :user_id - insert into acs_mail_lite_mail_log (user_id, last_mail_date) + insert into acs_mail_lite_mail_log (party_id, last_mail_date) values (:user_id, current_timestamp)