diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2018-10-31 12:48:22 +0100 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2018-10-31 13:43:23 +0100 |
commit | 88f3bafa5e41217b5a7dd49271429099515de9c8 (patch) | |
tree | 1e76d4aea0220561286106e3900a5a2587a1f5da /includes/helper/email_helper.php | |
parent | 82b22160fde48e726e7413c0f93bbf932d148b4c (diff) |
Replaced `Auth()` with `auth()`
Diffstat (limited to 'includes/helper/email_helper.php')
-rw-r--r-- | includes/helper/email_helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/helper/email_helper.php b/includes/helper/email_helper.php index 566217ef..b5a4060d 100644 --- a/includes/helper/email_helper.php +++ b/includes/helper/email_helper.php @@ -12,7 +12,7 @@ use Engelsystem\Models\User\User; */ function engelsystem_email_to_user($recipientUser, $title, $message, $notIfItsMe = false) { - if ($notIfItsMe && Auth()->user()->id == $recipientUser->id) { + if ($notIfItsMe && auth()->user()->id == $recipientUser->id) { return true; } |