Merge pull request #4203 from frederic34/patch-5

Update CSMSFile.class.php
This commit is contained in:
Laurent Destailleur 2015-12-11 16:39:51 +01:00
commit 9c20694668

View File

@ -85,9 +85,9 @@ class CSMSFile
/**
* Send mail that was prepared by constructor
* Send sms that was prepared by constructor
*
* @return boolean True if mail sent, false otherwise
* @return boolean True if sms sent, false otherwise
*/
function sendfile()
{
@ -168,7 +168,7 @@ class CSMSFile
}
else
{
// Send mail method not correctly defined
// Send sms method not correctly defined
// --------------------------------------
return 'Bad value for MAIN_SMS_SENDMODE constant';
@ -176,7 +176,7 @@ class CSMSFile
}
else
{
$this->error='No mail sent. Feature is disabled by option MAIN_DISABLE_ALL_SMS';
$this->error='No sms sent. Feature is disabled by option MAIN_DISABLE_ALL_SMS';
dol_syslog("CSMSFile::sendfile: ".$this->error, LOG_WARNING);
}
@ -187,7 +187,7 @@ class CSMSFile
/**
* Write content of a SMTP request into a dump file (mode = all)
* Write content of a SendSms request into a dump file (mode = all)
* Used for debugging.
*
* @return void
@ -215,7 +215,7 @@ class CSMSFile
}
/**
* Write content of a SMTP request into a dump file (mode = all)
* Write content of a SendSms result into a dump file (mode = all)
* Used for debugging.
*
* @param int $result Result of sms sending