debug sms
[namibia] / module / Utility / src / Utility / Comms / Notification.php
index 410620c..1b36c36 100644 (file)
@@ -523,11 +523,12 @@ class Notification
                $apiMsgId = '';
                try
                {
-//                     \Utility\Debug::errorLog("tryingNotification","sms");
-                       error_log("tryingNotification",$mobile);
+                       \Utility\Debug::errorLog("tryingNotification","sms");
+
                        if (!$disableSms && $smsTemplate && $mobile)
                        {
-                               if (IS_STAGE_ENV || 'production' == \Utility\Registry::getConfigParam('Instance'))
+//                             if (IS_STAGE_ENV || 'production' == \Utility\Registry::getConfigParam('Instance'))
+                               if (IS_STAGE_ENV || IS_LIVE_ENV)
                                {
                                        if (IS_STAGE_ENV)
                                        {