summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Product.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/Product.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/Product.pm')
-rw-r--r--Bugzilla/Product.pm2
1 files changed, 1 insertions, 1 deletions
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();