Skip to content

Commit

Permalink
Fix invalid code missed on review
Browse files Browse the repository at this point in the history
  • Loading branch information
nerzhul authored Nov 9, 2019
1 parent c9f1b40 commit 012ba83
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions db/smsmapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,15 +136,13 @@ public function getAllPhoneNumbersForFPN ($userId, $phoneNumber, $country) {
if(isset($phoneList[$fpn])) {
return $phoneList[$fpn];
}
else {
$fpn = PhoneNumberFormatter::format($country, $fpn);
if (isset($phoneList[$fpn])) {
return $phoneList[$fpn];
}
}
else {
return array();

$fpn = PhoneNumberFormatter::format($country, $fpn);
if (isset($phoneList[$fpn])) {
return $phoneList[$fpn];
}

return array();
}

public function getAllMessagesForPhoneNumber ($userId, $phoneNumber, $country, $minDate = 0) {
Expand Down

0 comments on commit 012ba83

Please sign in to comment.