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 cab8a86816
commit 8d166b94ac

View File

@ -36,9 +36,7 @@ class ModelMailMail extends Model {
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);