From ba82acf79bb24f3f82ece8a9dcd35470624b472f Mon Sep 17 00:00:00 2001 From: Jean Paul Galea Date: Fri, 17 Jul 2015 00:34:14 +0200 Subject: [PATCH] Refactor. - $status is always set in invocation, and never to null. --- ykval-common.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ykval-common.php b/ykval-common.php index a07e3f9..a4802ad 100644 --- a/ykval-common.php +++ b/ykval-common.php @@ -246,10 +246,6 @@ function KSMdecryptOTP($urls, $logger, $curlopts) { } function sendResp($status, $logger, $apiKey = '', $extra = null) { - if ($status == null) { - $status = S_BACKEND_ERROR; - } - $a['status'] = $status; $a['t'] = getUTCTimeStamp();