Commit f73a86bf authored by Tiago Mello's avatar Tiago Mello Committed by Frédéric Buclin

Bug 557324: object_before_delete does not work when object is Bugzilla::Classification

r/a=mkanat
parent 3bf3a219
......@@ -70,7 +70,7 @@ sub remove_from_db {
$dbh->do("UPDATE products SET classification_id = 1
WHERE classification_id = ?", undef, $self->id);
$dbh->do("DELETE FROM classifications WHERE id = ?", undef, $self->id);
$self->SUPER::remove_from_db();
$dbh->bz_commit_transaction();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment