testing
[namibia] / module / Utility / src / Utility / Comms / Notification.php
index 05bddc4..18f6e26 100644 (file)
@@ -78,7 +78,7 @@ class Notification
                $disableSms = false, $offline = false
        )
        {
                $disableSms = false, $offline = false
        )
        {
-               \Utility\Debug::errorLog("send from template","sms & email");
+               \Utility\Debug::errorLog("send from template","sms:".$mobile." email:".$email);
                #-> Unsubscribe check.
                $em = \Utility\Registry::getEntityManager();
                if (!self::$_sendAsNewsletter && !self::$_skipSubscriptionCheck)
                #-> Unsubscribe check.
                $em = \Utility\Registry::getEntityManager();
                if (!self::$_sendAsNewsletter && !self::$_skipSubscriptionCheck)
@@ -520,7 +520,8 @@ class Notification
                $apiMsgId = '';
                try
                {
                $apiMsgId = '';
                try
                {
-                       \Utility\Debug::errorLog("trying","sms");
+//                     \Utility\Debug::errorLog("tryingNotification","sms");
+                       error_log("tryingNotification",$mobile);
                        if (!$disableSms && $smsTemplate && $mobile)
                        {
                                if (IS_STAGE_ENV || 'production' == \Utility\Registry::getConfigParam('Instance'))
                        if (!$disableSms && $smsTemplate && $mobile)
                        {
                                if (IS_STAGE_ENV || 'production' == \Utility\Registry::getConfigParam('Instance'))