summaryrefslogtreecommitdiff
path: root/FS/FS/option_Common.pm
diff options
context:
space:
mode:
authorivan <ivan>2007-01-29 11:55:38 +0000
committerivan <ivan>2007-01-29 11:55:38 +0000
commit2d882de7a5fbca3aa2c793755178b2c138fda04f (patch)
tree738545d67cd360c7d44e5ad758842a847f62d568 /FS/FS/option_Common.pm
parentaca0fe8f79d68afeabf2b472bdc31350ddd80663 (diff)
remove extraneous debugging
Diffstat (limited to 'FS/FS/option_Common.pm')
-rw-r--r--FS/FS/option_Common.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/FS/FS/option_Common.pm b/FS/FS/option_Common.pm
index 5ef6d0f..9a44561 100644
--- a/FS/FS/option_Common.pm
+++ b/FS/FS/option_Common.pm
@@ -222,12 +222,10 @@ sub replace {
my $opt_pkey = $newopt->primary_key;
$newopt->$opt_pkey($oldopt->$opt_pkey) if $oldopt;
- warn $oldopt;
warn "FS::option_Common::replace: ".
( $oldopt ? "$newopt -> replace($oldopt)" : "$newopt -> insert" )
if $DEBUG > 2;
my $error = $oldopt ? $newopt->replace($oldopt) : $newopt->insert;
- warn $error;
if ( $error ) {
$dbh->rollback if $oldAutoCommit;
return $error;