debugging sms
authorMark <mark@nirph.com>
Wed, 11 Jan 2017 10:01:20 +0000 (12:01 +0200)
committerMark <mark@nirph.com>
Wed, 11 Jan 2017 10:01:20 +0000 (12:01 +0200)
module/Utility/src/Utility/Comms/Notification.php
module/Utility/src/Utility/Comms/Sms.php

index 309476a..410620c 100644 (file)
@@ -78,9 +78,9 @@ class Notification
                $disableSms = false, $offline = false
        )
        {
-               var_dump("send from template","sms:".$mobile." email:".$email);
+               \Utility\Debug::errorLog("send from template","sms:".$mobile." email:".$email);
 
-               var_dump('Template sending: ' . $templateName);
+               error_log('Template sending: ' . $templateName);
 
                #-> Unsubscribe check.
                $em = \Utility\Registry::getEntityManager();
index fa36445..4dcec59 100644 (file)
@@ -265,7 +265,7 @@ class Sms
               . "&text=".substr(urlencode($this->sBody),0,620);
 
         \Utility\Debug::errorLog("sms url", $sUrl);
-        var_dump("sms url", $sUrl);
+        error_log("sms url", $sUrl);
 
         if (!empty($this->sSmscId))
         {