diff options
author | Tiago Mello <timello@linux.vnet.ibm.com> | 2010-04-07 20:00:05 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2010-04-07 20:00:05 +0200 |
commit | f73a86bf700c8b3e85be84966171cdc8527a204a (patch) | |
tree | 0943a0c3401508794405920f660eaf7565b656f7 | |
parent | 3bf3a21995642b04486f6145c22f3b00cd0c37f6 (diff) | |
download | bugzilla-f73a86bf700c8b3e85be84966171cdc8527a204a.tar.gz bugzilla-f73a86bf700c8b3e85be84966171cdc8527a204a.tar.xz |
Bug 557324: object_before_delete does not work when object is Bugzilla::Classification
r/a=mkanat
-rw-r--r-- | Bugzilla/Classification.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Classification.pm b/Bugzilla/Classification.pm index a7f59b4bb..322b5cf99 100644 --- a/Bugzilla/Classification.pm +++ b/Bugzilla/Classification.pm @@ -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(); |