mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 08:10:12 +01:00
gui: remove unnecessary condition in mail sending
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
d4ffc02270
commit
bcd7233dc4
@ -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