summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Attachment.pm
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2011-03-14 06:03:22 +0100
committerMax Kanat-Alexander <mkanat@bugzilla.org>2011-03-14 06:03:22 +0100
commit8782cbb1c99e52d25a5157b0d3b794459f2b631a (patch)
tree7b0df85192b2927a46ef612b5053d8df407d5294 /Bugzilla/Attachment.pm
parent317fc6d919da6370863efb76f03cd25d20a9a454 (diff)
downloadbugzilla-8782cbb1c99e52d25a5157b0d3b794459f2b631a.tar.gz
bugzilla-8782cbb1c99e52d25a5157b0d3b794459f2b631a.tar.xz
Bug 622943: Simple auditing of changes to Bugzilla::Object subclass objects
r=dkl, a=mkanat
Diffstat (limited to 'Bugzilla/Attachment.pm')
-rw-r--r--Bugzilla/Attachment.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla/Attachment.pm b/Bugzilla/Attachment.pm
index 2bd5d8f3c..c0ea6ca0d 100644
--- a/Bugzilla/Attachment.pm
+++ b/Bugzilla/Attachment.pm
@@ -71,6 +71,8 @@ use base qw(Bugzilla::Object);
use constant DB_TABLE => 'attachments';
use constant ID_FIELD => 'attach_id';
use constant LIST_ORDER => ID_FIELD;
+# Attachments are tracked in bugs_activity.
+use constant AUDIT_UPDATES => 0;
sub DB_COLUMNS {
my $dbh = Bugzilla->dbh;