testing sms sending
authorMark <mark@nirph.com>
Mon, 12 Dec 2016 12:21:36 +0000 (14:21 +0200)
committerMark <mark@nirph.com>
Mon, 12 Dec 2016 12:21:36 +0000 (14:21 +0200)
module/Utility/src/Utility/Comms/Notification.php
workers/Notifier.php

index 322059e..05bddc4 100644 (file)
@@ -78,6 +78,7 @@ class Notification
                $disableSms = false, $offline = false
        )
        {
+               \Utility\Debug::errorLog("send from template","sms & email");
                #-> Unsubscribe check.
                $em = \Utility\Registry::getEntityManager();
                if (!self::$_sendAsNewsletter && !self::$_skipSubscriptionCheck)
index 045e34b..bc9e7c7 100644 (file)
@@ -184,6 +184,7 @@ class Notifier
                $apiMsgId = '';
                try
                {
+                       \Utility\Debug::errorLog("trying","sms");
                        if (!$data['disableSms'] && $data['smsTemplate'] && $data['mobile'])
                        {
                                if (IS_STAGE_ENV || 'production' == self::$instance)