MT#5879 Remove more debug messages.

mr3.3.1
Andreas Granig 12 years ago
parent ddfdb0d7a5
commit 1147ad5db0

@ -91,8 +91,6 @@ sub resource_from_item {
$resource{id} = int($item->id);
$resource{domain} = $item->domain->domain;
use Data::Printer; p %resource;
return \%resource;
}
@ -274,7 +272,6 @@ sub prepare_resource {
join => 'provisioning_voip_subscriber',
})->first;
use Data::Printer; p $resource;
if($pilot && $self->is_true($resource->{is_pbx_pilot}) && $pilot->id != $subscriber_id) {
$c->log->error("failed to create subscriber, contract_id " . $customer->id . " already has pbx pilot subscriber");
$self->error($c, HTTP_UNPROCESSABLE_ENTITY, "Customer already has a pbx pilot subscriber.");

@ -69,7 +69,6 @@ sub create_contract_balance {
start => $stime,
end => $etime,
});
use Data::Printer; print ">>>>>>>>> really created balance\n"; p $balance;
});
} catch($e) {
if ($e =~ /Duplicate entry/) {
@ -79,7 +78,6 @@ sub create_contract_balance {
$e->rethrow;
}
};
use Data::Printer; print ">>>>>>>>> returning balance\n"; p $balance;
return $balance;
}

Loading…
Cancel
Save