Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Re: [grid] Purge Users not working

Quote Reply
Re: [grid] Purge Users not working In reply to
Well, I did a little digging in the code and it appears there's a bug when Payment is disabled. It looks for purge_type and fails because user_purge_confirm.html doesn't pass purge_type properly.

Here is the patch.

Code:
--- user_purge_confirm.html.orig 2004-05-13 01:37:59.000000000 -0700
+++ user_purge_confirm.html 2004-05-13 01:38:14.000000000 -0700
@@ -8,7 +8,7 @@
<script language="JavaScript" type="text/javascript">

function purge () {
- chkwin = window.open('admin.cgi?page=progress.html;progress_do=action%3DGMail::Admin::Purge::users_purge_progress%3Bpurge_days=<%purge_days%>;purge_type=<%purge_type%>;rand=' + Math.random(), 'status', 'scrollbars=no,width=330,height=150');
+ chkwin = window.open('admin.cgi?page=progress.html;progress_do=action%3DGMail::Admin::Purge::users_purge_progress%3Bpurge_days=<%purge_days%>%3Bpurge_type=<%purge_type%>;rand=' + Math.random(), 'status', 'scrollbars=no,width=330,height=150');
}
</script>
<%endif%>

Last edited by:

grid: May 13, 2004, 1:46 AM
Subject Author Views Date
Thread Purge Users not working grid 2356 May 13, 2004, 12:30 AM
Thread Re: [grid] Purge Users not working
grid 2306 May 13, 2004, 1:45 AM
Post Re: [grid] Purge Users not working
brewt 2294 May 13, 2004, 4:22 PM