mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 00:31:58 +01:00
gui: remove unnecessary condition in mail sending
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
cab8a86816
commit
8d166b94ac
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user