[freeside-commits] freeside/htetc handler.pl,1.115,1.116

Ivan,,, ivan at wavetail.420.am
Mon Jul 13 20:14:51 PDT 2009


Update of /home/cvs/cvsroot/freeside/htetc
In directory wavetail.420.am:/tmp/cvs-serv9062

Modified Files:
	handler.pl 
Log Message:
fix warnings, from RT merge fallout

Index: handler.pl
===================================================================
RCS file: /home/cvs/cvsroot/freeside/htetc/handler.pl,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -d -r1.115 -r1.116
--- handler.pl	8 Jul 2009 11:12:46 -0000	1.115
+++ handler.pl	14 Jul 2009 03:14:49 -0000	1.116
@@ -69,8 +69,15 @@
 
     } else {
 
+      local $SIG{__WARN__};
+      local $SIG{__DIE__};
+
       RT::Init() if $RT::VERSION; #for lack of something else
 
+      #we don't want the RT error handlers under FS
+      undef $SIG{__WARN__};
+      undef $SIG{__DIE__};
+
       $ah->interp($fs_interp);
 
     }



More information about the freeside-commits mailing list