diff options
author | Edmund Yan <edmundhyan@gmail.com> | 2011-08-21 02:11:29 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2011-08-21 02:11:29 +0200 |
commit | 4f023328eeab5dd137263a2488fb8ef307170f07 (patch) | |
tree | 7ba9bd964623b0079801887fb1fbd980a17014dd /Bugzilla/Field.pm | |
parent | Bug 677522: IssueEmailChangeToken() should get the old login name from the us... (diff) | |
download | bugzilla-4f023328eeab5dd137263a2488fb8ef307170f07.tar.gz bugzilla-4f023328eeab5dd137263a2488fb8ef307170f07.tar.bz2 bugzilla-4f023328eeab5dd137263a2488fb8ef307170f07.zip |
Bug 679516: Call Bugzilla::Object->remove_from_db when deleting an object
r/a=LpSolit
Diffstat (limited to 'Bugzilla/Field.pm')
-rw-r--r-- | Bugzilla/Field.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Field.pm b/Bugzilla/Field.pm index aa3551182..6b42cc4af 100644 --- a/Bugzilla/Field.pm +++ b/Bugzilla/Field.pm @@ -948,7 +948,7 @@ sub remove_from_db { } # Once we reach here, we should be OK to delete. - $dbh->do('DELETE FROM fielddefs WHERE id = ?', undef, $self->id); + $self->SUPER::remove_from_db(); my $type = $self->type; |