summaryrefslogtreecommitdiff
path: root/includes/mailer/users_mailer.php
blob: 6135bcf7d3e1b044587161e833bfc265cfb8a41b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

use Engelsystem\Models\User\User;

/**
 * @param User $user
 * @return bool
 */
function mail_user_delete($user)
{
    return engelsystem_email_to_user(
        $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')]
        )
    );
}