Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c0f38241 authored by Loïc Blot's avatar Loïc Blot Committed by GitHub
Browse files

Fix invalid code missed on review

parent 5f3ed40d
Loading
Loading
Loading
Loading
+6 −8
Original line number Diff line number Diff line
@@ -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) {