From: justdave%syndicomm.com <> Date: Wed, 4 Jul 2001 12:28:39 +0000 (+0000) Subject: removing "Use Carp" and "sub die_with_dignity" that I was supposed to remove from... X-Git-Tag: bugzilla-2.14~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87f74d71b835bcfc4ec0d26e0eb8721adc206a09;p=thirdparty%2Fbugzilla.git removing "Use Carp" and "sub die_with_dignity" that I was supposed to remove from the previous patch before checking it in. --- diff --git a/globals.pl b/globals.pl index 4abb4a0657..81efb4745c 100644 --- a/globals.pl +++ b/globals.pl @@ -68,7 +68,7 @@ use DBI; use Date::Format; # For time2str(). use Date::Parse; # For str2time(). -use Carp; # for confess +#use Carp; # for confess use RelationSet; # $ENV{PATH} is not taint safe @@ -87,12 +87,12 @@ $::dbwritesallowed = 1; # Joe Robins, 7/5/00 $::superusergroupset = "9223372036854775807"; -sub die_with_dignity { - my ($err_msg) = @_; - print $err_msg; - confess($err_msg); -} -$::SIG{__DIE__} = \&die_with_dignity; +#sub die_with_dignity { +# my ($err_msg) = @_; +# print $err_msg; +# confess($err_msg); +#} +#$::SIG{__DIE__} = \&die_with_dignity; sub ConnectToDatabase { my ($useshadow) = (@_);