summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Field.pm
diff options
context:
space:
mode:
authorEdmund Yan <edmundhyan@gmail.com>2011-08-21 02:11:29 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2011-08-21 02:11:29 +0200
commit4f023328eeab5dd137263a2488fb8ef307170f07 (patch)
tree7ba9bd964623b0079801887fb1fbd980a17014dd /Bugzilla/Field.pm
parente7d28afbc4990c564be08f77cc472f92962f8f45 (diff)
downloadbugzilla-4f023328eeab5dd137263a2488fb8ef307170f07.tar.gz
bugzilla-4f023328eeab5dd137263a2488fb8ef307170f07.tar.xz
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.pm2
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;