From b45854abd368917be012a4fcf7bb230788d2467a Mon Sep 17 00:00:00 2001 From: stagprom Date: Thu, 27 Nov 2014 14:00:26 +0100 Subject: [PATCH] modified: appinfo/formatphonenumber.php Numbers will be formatted as in this examples: 00xx 1234567... => +xx1234567... (xxx)-yyy 1234567... => xxxyyy1234567... +xx (0) yyy 1234567... => +xxyyy1234567... --- appinfo/formatphonenumber.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/appinfo/formatphonenumber.php b/appinfo/formatphonenumber.php index 744e168..719d6b2 100644 --- a/appinfo/formatphonenumber.php +++ b/appinfo/formatphonenumber.php @@ -8,10 +8,11 @@ * @author Loic Blot * @copyright Loic Blot 2014 */ + namespace OCA\OcSms\AppInfo; -class FormatPhoneNumber { +class FormatPhoneNumber { public static function formatPhoneNumber($pn) {