From: Frédéric Buclin Date: Mon, 12 Sep 2011 16:50:48 +0000 (+0200) Subject: Bug 686133: Bugzilla crashes when deleting a bug X-Git-Tag: bugzilla-4.2rc1~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff2d5c5c47b6390288808c78405556b3bdd10c61;p=thirdparty%2Fbugzilla.git Bug 686133: Bugzilla crashes when deleting a bug r=timello a=LpSolit --- diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 8beecdcd2d..e5b288f250 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; } #####################################################################