2015-12-30 15:48:41 +01:00
|
|
|
<?php
|
|
|
|
|
2018-10-09 21:47:31 +02:00
|
|
|
use Engelsystem\Models\User\User;
|
|
|
|
|
2015-12-30 15:48:41 +01:00
|
|
|
/**
|
2018-10-09 21:47:31 +02:00
|
|
|
* @param User $user
|
2017-01-03 03:22:48 +01:00
|
|
|
* @return bool
|
2015-12-30 15:48:41 +01:00
|
|
|
*/
|
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,
|
2018-10-05 15:35:14 +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
|
|
|
);
|
2015-12-30 15:48:41 +01:00
|
|
|
}
|