Remove get_app() in favor of DI::app()
This commit is contained in:
@@ -105,7 +105,7 @@ class Mail
|
||||
*/
|
||||
public static function send($recipient = 0, $body = '', $subject = '', $replyto = '')
|
||||
{
|
||||
$a = \get_app();
|
||||
$a = DI::app();
|
||||
|
||||
if (!$recipient) {
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user