[freeside-commits] freeside/FS/FS Conf.pm,1.218,1.219
Ivan,,,
ivan at wavetail.420.am
Thu Mar 13 19:09:28 PDT 2008
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv12012
Modified Files:
Conf.pm
Log Message:
show where the warning about no conf comes from
Index: Conf.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Conf.pm,v
retrieving revision 1.218
retrieving revision 1.219
diff -u -d -r1.218 -r1.219
--- Conf.pm 1 Mar 2008 23:30:44 -0000 1.218
+++ Conf.pm 14 Mar 2008 02:09:26 -0000 1.219
@@ -1,6 +1,7 @@
package FS::Conf;
use vars qw($base_dir @config_items @base_items @card_types $DEBUG);
+use Carp;
use IO::File;
use File::Basename;
use MIME::Base64;
@@ -84,7 +85,7 @@
sub _usecompat {
my ($self, $method) = (shift, shift);
- warn "NO CONFIGURATION RECORDS FOUND -- USING COMPATIBILITY MODE"
+ carp "NO CONFIGURATION RECORDS FOUND -- USING COMPATIBILITY MODE"
if use_confcompat;
my $compat = new FS::Conf_compat17 ("$base_dir/conf." . datasrc);
$compat->$method(@_);
More information about the freeside-commits
mailing list