summaryrefslogtreecommitdiff
path: root/includes/pages/user_messages.php
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2018-10-31 12:48:22 +0100
committermsquare <msquare@notrademark.de>2018-10-31 13:43:23 +0100
commit88f3bafa5e41217b5a7dd49271429099515de9c8 (patch)
tree1e76d4aea0220561286106e3900a5a2587a1f5da /includes/pages/user_messages.php
parent82b22160fde48e726e7413c0f93bbf932d148b4c (diff)
Replaced `Auth()` with `auth()`
Diffstat (limited to 'includes/pages/user_messages.php')
-rw-r--r--includes/pages/user_messages.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/pages/user_messages.php b/includes/pages/user_messages.php
index 9b587343..0ac554b8 100644
--- a/includes/pages/user_messages.php
+++ b/includes/pages/user_messages.php
@@ -16,7 +16,7 @@ function messages_title()
*/
function user_unread_messages()
{
- $user = Auth()->user();
+ $user = auth()->user();
if ($user) {
$new_messages = count(DB::select(