aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/news.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/news.php')
-rw-r--r--app/controllers/news.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/controllers/news.php b/app/controllers/news.php
index 4b9eb60..29472c2 100644
--- a/app/controllers/news.php
+++ b/app/controllers/news.php
@@ -436,9 +436,6 @@ class NewsController extends StudipController
public function admin_news_action($area_type = '')
{
// check permission
- if (!$GLOBALS['auth']->is_authenticated() || $GLOBALS['user']->id === 'nobody') {
- throw new AccessDeniedException();
- }
$GLOBALS['perm']->check('user');
// initialize