gui: remove unnecessary condition in mail sending

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2017-07-08 17:56:07 +02:00
parent d4ffc02270
commit bcd7233dc4

View File

@ -36,9 +36,7 @@ class ModelMailMail extends Model {
fputs($r, $msg); fputs($r, $msg);
if(!preg_match("/\r\n\.\r\n$/", $msg)){
fputs($r, "\r\n.\r\n"); fputs($r, "\r\n.\r\n");
}
$l = fgets($r, 4096); $l = fgets($r, 4096);