[freeside-commits] freeside/FS/FS Msgcat.pm,1.2,1.3

Ivan,,, ivan at wavetail.420.am
Tue Jun 17 17:42:33 PDT 2008


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

Modified Files:
	Msgcat.pm 
Log Message:
REALLY, don't use FS::Conf from Msgcat until runtime... should hopefully FINALLY eliminate the Record->Msgcat->Conf->Record loop

Index: Msgcat.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Msgcat.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Msgcat.pm	18 Jun 2008 00:27:44 -0000	1.2
+++ Msgcat.pm	18 Jun 2008 00:42:31 -0000	1.3
@@ -13,7 +13,7 @@
 @EXPORT_OK = qw( gettext geterror );
 
 FS::UID->install_callback( sub {
-  eval { use FS::Conf; };
+  eval "use FS::Conf;";
   die $@ if $@;
   $conf = new FS::Conf;
   $locale = $conf->config('locale') || 'en_US';



More information about the freeside-commits mailing list