engelsystem/includes/mailer/users_mailer.php

20 lines
415 B
PHP
Raw Normal View History

<?php
2018-10-09 21:47:31 +02:00
use Engelsystem\Models\User\User;
/**
2018-10-09 21:47:31 +02:00
* @param User $user
2017-01-03 03:22:48 +01:00
* @return bool
*/
2017-01-02 03:57:23 +01:00
function mail_user_delete($user)
{
2017-01-03 03:22:48 +01:00
return engelsystem_email_to_user(
2017-01-02 15:43:36 +01:00
$user,
__('Your account has been deleted'),
__(
'Your %s account has been deleted. If you have any questions regarding your account deletion, please contact heaven.',
[config('app_name')]
)
2017-01-02 15:43:36 +01:00
);
}