diff options
author | Andrew Dolgov <[email protected]> | 2021-02-25 15:49:30 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-25 15:49:30 +0300 |
commit | dcf0135285f1a515454807cdfe1e819f37a23a86 (patch) | |
tree | 923ebbdff110e7890959c38009002307724aec71 /classes/mailer.php | |
parent | 59c14e9c0001bc7a01763ecc7d3042dcde978a1a (diff) |
logger: shorter syntax
Diffstat (limited to 'classes/mailer.php')
-rw-r--r-- | classes/mailer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/mailer.php b/classes/mailer.php index 93f778210..a4270ba88 100644 --- a/classes/mailer.php +++ b/classes/mailer.php @@ -20,7 +20,7 @@ class Mailer { $to_combined = $to_name ? "$to_name <$to_address>" : $to_address; if (Config::get(Config::LOG_SENT_MAIL)) - Logger::get()->log(E_USER_NOTICE, "Sending mail from $from_combined to $to_combined [$subject]: $message"); + Logger::log(E_USER_NOTICE, "Sending mail from $from_combined to $to_combined [$subject]: $message"); // HOOK_SEND_MAIL plugin instructions: // 1. return 1 or true if mail is handled |