[freeside-commits] freeside/rt/lib/RT/URI/freeside Internal.pm, 1.3, 1.4

Ivan,,, ivan at wavetail.420.am
Thu Sep 22 15:25:26 PDT 2005


Update of /home/cvs/cvsroot/freeside/rt/lib/RT/URI/freeside
In directory wavetail:/tmp/cvs-serv10415

Modified Files:
	Internal.pm 
Log Message:
should fix problem with empty (dir-less) Conf showing up

Index: Internal.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/lib/RT/URI/freeside/Internal.pm,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Internal.pm	14 May 2005 19:57:30 -0000	1.3
+++ Internal.pm	22 Sep 2005 22:25:23 -0000	1.4
@@ -28,7 +28,7 @@
 use strict;
 no warnings qw(redefine);
 
-use vars qw($conf);
+#use vars qw($conf);
 
 use FS;
 use FS::UID qw(dbh);
@@ -94,7 +94,8 @@
 
 sub FreesideGetConfig {
 
-  $conf = new FS::Conf unless ref($conf);
+  #$conf = new FS::Conf unless ref($conf);
+  my $conf = new FS::Conf;
 
   return scalar($conf->config(@_));
 



More information about the freeside-commits mailing list