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/Product.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/Product.pm') diff --git a/Bugzilla/Product.pm b/Bugzilla/Product.pm index 85524ac47..64a146be9 100644 --- a/Bugzilla/Product.pm +++ b/Bugzilla/Product.pm @@ -317,7 +317,7 @@ sub remove_from_db { } } - $dbh->do("DELETE FROM products WHERE id = ?", undef, $self->id); + $self->SUPER::remove_from_db(); $dbh->bz_commit_transaction(); -- cgit v1.2.3-24-g4f1b