summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-01-11 21:08:16 +0100
committerDave Lawrence <dlawrence@mozilla.com>2012-01-11 21:08:16 +0100
commit34c969c2144e5910e7532946d0a0313f48d31f01 (patch)
tree14e7f482992bbff74eab66584e50b3cee3d8630e
parenta1a0917d78fae421256ca04470926803cec6316c (diff)
downloadbugzilla-34c969c2144e5910e7532946d0a0313f48d31f01.tar.gz
bugzilla-34c969c2144e5910e7532946d0a0313f48d31f01.tar.xz
Backed out mistaken commit of patch from bug 714370
-rw-r--r--Bugzilla/Flag.pm13
1 files changed, 0 insertions, 13 deletions
diff --git a/Bugzilla/Flag.pm b/Bugzilla/Flag.pm
index 7db80c458..76d950994 100644
--- a/Bugzilla/Flag.pm
+++ b/Bugzilla/Flag.pm
@@ -84,8 +84,6 @@ use constant DB_COLUMNS => qw(
type_id
bug_id
attach_id
- creation_date
- modification_date
requestee_id
setter_id
status
@@ -134,14 +132,6 @@ Returns the ID of the attachment this flag belongs to, if any.
Returns the status '+', '-', '?' of the flag.
-=item C<creation_date>
-
-Returns the timestamp when the flag was created.
-
-=item C<modification_date>
-
-Returns the timestamp when the flag was last modified.
-
=back
=cut
@@ -154,8 +144,6 @@ sub attach_id { return $_[0]->{'attach_id'}; }
sub status { return $_[0]->{'status'}; }
sub setter_id { return $_[0]->{'setter_id'}; }
sub requestee_id { return $_[0]->{'requestee_id'}; }
-sub creation_date { return $_[0]->{'creation_date'}; }
-sub modification_date { return $_[0]->{'modification_date'}; }
###############################
#### Methods ####
@@ -462,7 +450,6 @@ sub update {
if (scalar(keys %$changes)) {
$dbh->do('UPDATE flags SET modification_date = ? WHERE id = ?',
undef, ($timestamp, $self->id));
- $self->{'modification_date'} = $timestamp;
}
return $changes;
}