diff options
author | Felix Favre <gnomus@gnomus.de> | 2014-12-07 21:06:39 +0100 |
---|---|---|
committer | Felix Favre <gnomus@gnomus.de> | 2014-12-07 21:06:39 +0100 |
commit | 0cd8dd40a5c482a9b95abe454e2677481acf3ea6 (patch) | |
tree | 66462acb0ee65c562d7ad5a0dd651c2e3f46534c /includes/mailer/shifts_mailer.php | |
parent | ac82f3dcd2fd25106a08640641f80fc9e7b5f7d1 (diff) | |
parent | 55dc676b7726c494672202e3533628abf7fe8885 (diff) |
Merge branch 'master' of github.com:engelsystem/engelsystem
Diffstat (limited to 'includes/mailer/shifts_mailer.php')
-rw-r--r-- | includes/mailer/shifts_mailer.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/mailer/shifts_mailer.php b/includes/mailer/shifts_mailer.php index cd34274f..16b0db65 100644 --- a/includes/mailer/shifts_mailer.php +++ b/includes/mailer/shifts_mailer.php @@ -44,7 +44,7 @@ function mail_shift_change($old_shift, $new_shift) { foreach ($users as $user) if ($user["email_shiftinfo"]) - engelsystem_email_to_user($user, '[engelsystem] ' . _("Your Shift has changed"), $message); + engelsystem_email_to_user($user, '[engelsystem] ' . _("Your Shift has changed"), $message, true); } function mail_shift_delete($shift) { @@ -59,7 +59,7 @@ function mail_shift_delete($shift) { foreach ($users as $user) if ($user["email_shiftinfo"]) - engelsystem_email_to_user($user, '[engelsystem] ' . _("Your Shift was deleted"), $message); + engelsystem_email_to_user($user, '[engelsystem] ' . _("Your Shift was deleted"), $message, true); } function mail_shift_assign($user, $shift) { @@ -71,7 +71,7 @@ function mail_shift_assign($user, $shift) { $message .= date("y-m-d H:i", $shift["start"]) . " - " . date("H:i", $shift["end"]) . "\n"; $message .= $room["Name"] . "\n"; - engelsystem_email_to_user($user, '[engelsystem] ' . _("Assigned to Shift"), $message); + engelsystem_email_to_user($user, '[engelsystem] ' . _("Assigned to Shift"), $message, true); } } @@ -84,7 +84,7 @@ function mail_shift_removed($user, $shift) { $message .= date("y-m-d H:i", $shift["start"]) . " - " . date("H:i", $shift["end"]) . "\n"; $message .= $room["Name"] . "\n"; - engelsystem_email_to_user($user, '[engelsystem] ' . _("Removed from Shift"), $message); + engelsystem_email_to_user($user, '[engelsystem] ' . _("Removed from Shift"), $message, true); } } |