projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d3e67ed
)
it would help to actually finish nowarn_classload kludge
author
ivan
<ivan>
Sat, 21 Feb 2009 04:27:08 +0000
(
04:27
+0000)
committer
ivan
<ivan>
Sat, 21 Feb 2009 04:27:08 +0000
(
04:27
+0000)
FS/FS/Record.pm
patch
|
blob
|
history
diff --git
a/FS/FS/Record.pm
b/FS/FS/Record.pm
index
ee9c231
..
809ec0a
100644
(file)
--- a/
FS/FS/Record.pm
+++ b/
FS/FS/Record.pm
@@
-37,7
+37,7
@@
$DEBUG = 0;
$me = '[FS::Record]';
$nowarn_identical = 0;
$me = '[FS::Record]';
$nowarn_identical = 0;
-$nowarn_classload;
+$nowarn_classload
= 0
;
$no_update_diff = 0;
$no_check_foreign = 0;
$no_update_diff = 0;
$no_check_foreign = 0;
@@
-438,7
+438,8
@@
sub qsearch {
}
}
} else {
}
}
} 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);
@return = map {
FS::Record->new( $table, { %{$_} } );
} values(%result);