From a6743099f3fb50d6a0336260b0127fbde1a3e338 Mon Sep 17 00:00:00 2001 From: Kirill Solomko Date: Tue, 4 Oct 2016 13:30:07 +0200 Subject: [PATCH] MT#22913 Faxes API remove deprecated preference check Change-Id: Iba31028e4af9bbae89eb8cb61791e211b66891e9 --- lib/NGCP/Panel/Controller/API/Faxes.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/NGCP/Panel/Controller/API/Faxes.pm b/lib/NGCP/Panel/Controller/API/Faxes.pm index 61ab69870f..8a931cea95 100644 --- a/lib/NGCP/Panel/Controller/API/Faxes.pm +++ b/lib/NGCP/Panel/Controller/API/Faxes.pm @@ -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;