diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-08-11 14:26:18 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-08-11 14:26:18 +0400 |
commit | 7ef891e7ce058a9cb23de75690f6117181e06e45 (patch) | |
tree | d0cdf72f5ad048885e5ba12d9d6e9b2369e4e7a9 /plugins/MobileMessaging/SMSProvider/Clockwork.php | |
parent | f9b15e948fc9639ada0f925a5d450e6e158b5f56 (diff) |
Merge with Master + fix build + Namespaces conquest check
Diffstat (limited to 'plugins/MobileMessaging/SMSProvider/Clockwork.php')
-rw-r--r-- | plugins/MobileMessaging/SMSProvider/Clockwork.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/MobileMessaging/SMSProvider/Clockwork.php b/plugins/MobileMessaging/SMSProvider/Clockwork.php index 817220afb0..da0b07ba1e 100644 --- a/plugins/MobileMessaging/SMSProvider/Clockwork.php +++ b/plugins/MobileMessaging/SMSProvider/Clockwork.php @@ -9,6 +9,9 @@ * @package SMSProvider */ +namespace Piwik\Plugins\MobileMessaging\SMSProvider; + +use Exception; use Piwik\Http; use Piwik\Plugins\MobileMessaging\APIException; use Piwik\Plugins\MobileMessaging\SMSProvider; @@ -18,7 +21,7 @@ require_once PIWIK_INCLUDE_PATH . "/plugins/MobileMessaging/APIException.php"; * * @package SMSProvider */ -class Piwik_MobileMessaging_SMSProvider_Clockwork extends SMSProvider +class Clockwork extends SMSProvider { const SOCKET_TIMEOUT = 15; @@ -85,7 +88,7 @@ class Piwik_MobileMessaging_SMSProvider_Clockwork extends SMSProvider $acceptLanguage = false, $acceptInvalidSslCertificate = true ); - } catch(Exception $e) { + } catch (Exception $e) { $result = self::ERROR_STRING . " " . $e->getMessage(); } |