Commit 9efbb351 authored by 顾文旭's avatar 顾文旭

email

parent 2de24c0c
...@@ -86,11 +86,10 @@ class FileLog ...@@ -86,11 +86,10 @@ class FileLog
if (!is_array($mail_to)) { if (!is_array($mail_to)) {
$mail_to = [$mail_to]; $mail_to = [$mail_to];
} }
if (self::shouldSendEmail(md5($signature)) === true) {
foreach ($mail_to as $mail) { foreach ($mail_to as $mail) {
Email::sendMail('noreply@linkingcities.com', $mail, $subject, $body); Email::sendMail('noreply@linkingcities.com', $mail, $subject, $body);
} }
}
} }
public static function accessLog() public static function accessLog()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment