forked from Wavyzz/dolibarr
Update CSMSFile.class.php
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user