engelsystem/includes/mailer/users_mailer.php

20 lines
416 B
PHP
Raw Permalink 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,
2023-10-02 16:15:25 +02:00
__('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
);
}