From: ivan Date: Mon, 29 Jan 2007 11:55:38 +0000 (+0000) Subject: remove extraneous debugging X-Git-Tag: TRIXBOX_2_6~717 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=2d882de7a5fbca3aa2c793755178b2c138fda04f remove extraneous debugging --- diff --git a/FS/FS/option_Common.pm b/FS/FS/option_Common.pm index 5ef6d0f4c..9a44561a0 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;