From 4f023328eeab5dd137263a2488fb8ef307170f07 Mon Sep 17 00:00:00 2001 From: Edmund Yan Date: Sun, 21 Aug 2011 02:11:29 +0200 Subject: Bug 679516: Call Bugzilla::Object->remove_from_db when deleting an object r/a=LpSolit --- Bugzilla/Milestone.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/Milestone.pm') diff --git a/Bugzilla/Milestone.pm b/Bugzilla/Milestone.pm index 92bc2192a..61e2a12bb 100644 --- a/Bugzilla/Milestone.pm +++ b/Bugzilla/Milestone.pm @@ -158,7 +158,7 @@ sub remove_from_db { } } - $dbh->do('DELETE FROM milestones WHERE id = ?', undef, $self->id); + $self->SUPER::remove_from_db(); } ################################ -- cgit v1.2.3-24-g4f1b