summaryrefslogtreecommitdiff
path: root/includes/pages/admin_news.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/admin_news.php
parent82b22160fde48e726e7413c0f93bbf932d148b4c (diff)
Replaced `Auth()` with `auth()`
Diffstat (limited to 'includes/pages/admin_news.php')
-rw-r--r--includes/pages/admin_news.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/pages/admin_news.php b/includes/pages/admin_news.php
index 2e951dde..90aeb439 100644
--- a/includes/pages/admin_news.php
+++ b/includes/pages/admin_news.php
@@ -9,7 +9,7 @@ use Engelsystem\Models\User\User;
function admin_news()
{
global $privileges;
- $user = Auth()->user();
+ $user = auth()->user();
$request = request();
if (!$request->has('action')) {