diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2011-09-12 18:50:48 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2011-09-12 18:50:48 +0200 |
commit | ff2d5c5c47b6390288808c78405556b3bdd10c61 (patch) | |
tree | 4698351143438e4e028bf516365d6e3cce3107c4 /Bugzilla | |
parent | 393dd151c6138b53c2f3ecaa21f2667ab827061d (diff) | |
download | bugzilla-ff2d5c5c47b6390288808c78405556b3bdd10c61.tar.gz bugzilla-ff2d5c5c47b6390288808c78405556b3bdd10c61.tar.xz |
Bug 686133: Bugzilla crashes when deleting a bug
r=timello a=LpSolit
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Bug.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 8beecdcd2..e5b288f25 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -1130,9 +1130,7 @@ sub remove_from_db { # The bugs_fulltext table doesn't support transactions. $dbh->do("DELETE FROM bugs_fulltext WHERE bug_id = ?", undef, $bug_id); - # Now this bug no longer exists - $self->DESTROY; - return $self; + undef $self; } ##################################################################### |