1
0
mirror of https://github.com/nextcloud/ocsms.git synced 2026-08-11 16:32:55 +00:00

Fix invalid code missed on review

This commit is contained in:
Loïc Blot
2019-11-09 08:27:40 +01:00
committed by GitHub
parent c9f1b4099f
commit 012ba8385b
+2 -4
View File
@@ -136,16 +136,14 @@ class SmsMapper extends Mapper {
if(isset($phoneList[$fpn])) {
return $phoneList[$fpn];
}
else {
$fpn = PhoneNumberFormatter::format($country, $fpn);
if (isset($phoneList[$fpn])) {
return $phoneList[$fpn];
}
}
else {
return array();
}
}
public function getAllMessagesForPhoneNumber ($userId, $phoneNumber, $country, $minDate = 0) {