diff options
author | Byron Jones <glob@mozilla.com> | 2015-07-14 08:55:43 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-07-14 08:55:43 +0200 |
commit | 2bd3296eaa42479b1dd0aa5c12a442a86140b02c (patch) | |
tree | ca34781c1e5dddefeef80837136129bd631f9584 /scripts | |
parent | 425d780e7f77d8cc38191331cbcc84d7af5c871a (diff) | |
download | bugzilla-2bd3296eaa42479b1dd0aa5c12a442a86140b02c.tar.gz bugzilla-2bd3296eaa42479b1dd0aa5c12a442a86140b02c.tar.xz |
Bug 1180570 - store attachment size in the database
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/sanitizeme.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/sanitizeme.pl b/scripts/sanitizeme.pl index af0c167bf..6d4119905 100755 --- a/scripts/sanitizeme.pl +++ b/scripts/sanitizeme.pl @@ -210,8 +210,9 @@ sub delete_sensitive_user_data { sub delete_attachment_data { # Delete unnecessary attachment data. - print "Removing attachment data to preserve disk space...\n"; + print "Removing attachment data...\n"; $dbh->do("UPDATE attach_data SET thedata = ''"); + $dbh->do("UPDATE attachments SET attach_size = 0"); } sub delete_bug_user_last_visit { |