Update CSMSFile.class.php

This commit is contained in:
Frédéric FRANCE 2015-12-10 23:08:21 +01:00
parent 3bcdc5c9c0
commit e193d9be97

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() function sendfile()
{ {
@ -168,7 +168,7 @@ class CSMSFile
} }
else else
{ {
// Send mail method not correctly defined // Send sms method not correctly defined
// -------------------------------------- // --------------------------------------
return 'Bad value for MAIN_SMS_SENDMODE constant'; return 'Bad value for MAIN_SMS_SENDMODE constant';
@ -176,7 +176,7 @@ class CSMSFile
} }
else 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); 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. * Used for debugging.
* *
* @return void * @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. * Used for debugging.
* *
* @param int $result Result of sms sending * @param int $result Result of sms sending