diff options
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/sanitizeme.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/sanitizeme.pl b/contrib/sanitizeme.pl index 28c2f38f2..c80069912 100755 --- a/contrib/sanitizeme.pl +++ b/contrib/sanitizeme.pl @@ -86,6 +86,7 @@ eval { delete_security_groups(); delete_sensitive_user_data(); delete_attachment_data() unless $keep_attachments; + delete_bug_user_last_visit(); disable_email_delivery() unless $enable_email; print "All done!\n"; $dbh->bz_rollback_transaction() if $dry_run; @@ -201,6 +202,11 @@ sub delete_attachment_data { $dbh->do("UPDATE attach_data SET thedata = ''"); } +sub delete_bug_user_last_visit { + print "Removing all entries from bug_user_last_visit...\n" + $dbh->do('TRUNCATE TABLE bug_user_last_visit'); +} + sub disable_email_delivery { # turn off email delivery for all users. print "Turning off email delivery...\n"; |