diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/sanitizeme.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/sanitizeme.pl b/scripts/sanitizeme.pl index c9dc814bd..64178f3f3 100755 --- a/scripts/sanitizeme.pl +++ b/scripts/sanitizeme.pl @@ -104,6 +104,7 @@ eval { delete_sensitive_user_data(); delete_attachment_data() unless $keep_attachments; delete_bug_user_last_visit(); + delete_user_request_log(); Bugzilla::Hook::process('db_sanitize'); disable_email_delivery() unless $enable_email; print "All done!\n"; @@ -221,6 +222,11 @@ sub delete_bug_user_last_visit { $dbh->do('TRUNCATE TABLE bug_user_last_visit'); } +sub delete_user_request_log { + print "Removing all entries from user_request_log...\n"; + $dbh->do('TRUNCATE TABLE user_request_log'); +} + sub disable_email_delivery { # turn off email delivery for all users. print "Turning off email delivery...\n"; |