[freeside-commits] freeside/FS/FS Record.pm,1.183,1.184

Ivan,,, ivan at wavetail.420.am
Fri Feb 20 20:27:10 PST 2009


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

Modified Files:
	Record.pm 
Log Message:
it would help to actually finish nowarn_classload kludge

Index: Record.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Record.pm,v
retrieving revision 1.183
retrieving revision 1.184
diff -u -d -r1.183 -r1.184
--- Record.pm	21 Feb 2009 04:23:17 -0000	1.183
+++ Record.pm	21 Feb 2009 04:27:08 -0000	1.184
@@ -37,7 +37,7 @@
 $me = '[FS::Record]';
 
 $nowarn_identical = 0;
-$nowarn_classload;
+$nowarn_classload = 0;
 $no_update_diff = 0;
 $no_check_foreign = 0;
 
@@ -438,7 +438,8 @@
       }
     }
   } else {
-    cluck "warning: FS::$table not loaded; returning FS::Record objects";
+    cluck "warning: FS::$table not loaded; returning FS::Record objects"
+      unless $nowarn_classload;
     @return = map {
       FS::Record->new( $table, { %{$_} } );
     } values(%result);



More information about the freeside-commits mailing list