MT#22913 Faxes API remove deprecated preference check

Change-Id: Iba31028e4af9bbae89eb8cb61791e211b66891e9
changes/40/8640/1
Kirill Solomko 9 years ago
parent 85e93b5d19
commit a6743099f3

@ -178,7 +178,7 @@ sub POST :Allow {
my $prov_subscriber = $billing_subscriber->provisioning_voip_subscriber;
last unless $prov_subscriber;
my $faxpref = $prov_subscriber->voip_fax_preference;
unless ($faxpref && $faxpref->active && $faxpref->password){
unless ($faxpref && $faxpref->active){
$c->log->error("invalid subscriber fax preferences");
$self->error($c, HTTP_UNPROCESSABLE_ENTITY, "Invalid subscriber fax preferences");
last;

Loading…
Cancel
Save