sms functions testing
authorMark <mark@nirph.com>
Mon, 12 Dec 2016 12:07:47 +0000 (14:07 +0200)
committerMark <mark@nirph.com>
Mon, 12 Dec 2016 12:07:47 +0000 (14:07 +0200)
module/Utility/src/Utility/Comms/Notification.php
module/Utility/src/Utility/Comms/Sms.php

index 555af48..322059e 100644 (file)
@@ -519,6 +519,7 @@ class Notification
                $apiMsgId = '';
                try
                {
+                       \Utility\Debug::errorLog("trying","sms");
                        if (!$disableSms && $smsTemplate && $mobile)
                        {
                                if (IS_STAGE_ENV || 'production' == \Utility\Registry::getConfigParam('Instance'))
index 8f2d116..01323aa 100644 (file)
@@ -249,6 +249,7 @@ class Sms
         #-> Environmental override.
         if (IS_DEV_ENV && !IS_STAGE_ENV)
         {
+            \Utility\Debug::errorLog("overriding","sms");
                \Utility\Debug::errorLog('Sms.send Override: ' . $this->sTo, $this->sBody);
                return;
         }