[vhffs-dev] [1201] Removed some debug code.

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 1201
Author:   beuss
Date:     2008-05-23 13:44:04 +0200 (Fri, 23 May 2008)

Log Message:
-----------
Removed some debug code.

Modified Paths:
--------------
    trunk/vhffs-panel/group/prefs.pl


Modified: trunk/vhffs-panel/group/prefs.pl
===================================================================
--- trunk/vhffs-panel/group/prefs.pl	2008-05-21 21:54:43 UTC (rev 1200)
+++ trunk/vhffs-panel/group/prefs.pl	2008-05-23 11:44:04 UTC (rev 1201)
@@ -65,17 +65,6 @@
 my $cgi = $panel->{'cgi'};
 my $template;
 
-BEGIN {
-	  ## death handler, presumes no output yet
-  $SIG{'__WARN__'} = sub {
-    my $error = shift;
-    chomp $error;
-    $error =~ s/[<&>]/'&#'.ord($&).';'/ge;
-    print "Content-type: text/html\n\n[$error]\n";
-    exit 0;
-  };
-}
-
 unless( defined $group ) {
 	$template = new HTML::Template( filename => $templatedir.'/panel/misc/simplemsg.tmpl' );
 	$template->param( MESSAGE => gettext( "Error. This group doesn't exists") );


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/