From ff2d5c5c47b6390288808c78405556b3bdd10c61 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Mon, 12 Sep 2011 18:50:48 +0200 Subject: Bug 686133: Bugzilla crashes when deleting a bug r=timello a=LpSolit --- Bugzilla/Bug.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Bugzilla') 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; } ##################################################################### -- cgit v1.2.3-24-g4f1b