X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=src%2FModel%2FMail.php;h=7cd836610b6ce924650f90f868a902707dc2b63a;hb=2e05dac7dae0a3d028b442a2d5afbd4176a32e99;hp=75515c5df53c8166e5d0240ea570a4120f6525cf;hpb=92114dbe33a08285b361b9a0c7e9a9e223919ffe;p=friendica.git diff --git a/src/Model/Mail.php b/src/Model/Mail.php index 75515c5df5..7cd836610b 100644 --- a/src/Model/Mail.php +++ b/src/Model/Mail.php @@ -104,7 +104,7 @@ class Mail 'link' => DI::baseUrl() . '/message/' . $msg['id'], ]; - notification($notif_params); + DI::notify()->createFromArray($notif_params); Logger::info('Mail is processed, notification was sent.', ['id' => $msg['id'], 'uri' => $msg['uri']]); } @@ -187,7 +187,7 @@ class Mail } if (!$convid) { - Logger::log('send message: conversation not found.'); + Logger::notice('send message: conversation not found.'); return -4; } @@ -291,7 +291,7 @@ class Mail } if (!$convid) { - Logger::log('send message: conversation not found.'); + Logger::notice('send message: conversation not found.'); return -4; }