summaryrefslogtreecommitdiff
path: root/includes/mailer/users_mailer.php
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2018-10-05 15:35:14 +0200
committermsquare <msquare@notrademark.de>2018-10-30 22:50:22 +0100
commit90e1a949623ead173c0952f802d7b5c5487251b1 (patch)
tree544d29dde573cb135b514d0a84c2d95e9207392c /includes/mailer/users_mailer.php
parent0aa5f079258afd5276917c1aff565ec1c6411821 (diff)
Make application name configurable
* Added app_name configuration option * Extended `EngelsystemMailer` to prepend the application name to all mails Closes #426
Diffstat (limited to 'includes/mailer/users_mailer.php')
-rw-r--r--includes/mailer/users_mailer.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/includes/mailer/users_mailer.php b/includes/mailer/users_mailer.php
index 5f1e6e79..23a13806 100644
--- a/includes/mailer/users_mailer.php
+++ b/includes/mailer/users_mailer.php
@@ -8,7 +8,10 @@ function mail_user_delete($user)
{
return engelsystem_email_to_user(
$user,
- '[engelsystem] ' . __('Your account has been deleted'),
- __('Your angelsystem account has been deleted. If you have any questions regarding your account deletion, please contact heaven.')
+ __('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')]
+ )
);
}