diff options
Diffstat (limited to 'htdocs/moderate/moderate.php')
-rw-r--r-- | htdocs/moderate/moderate.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/htdocs/moderate/moderate.php b/htdocs/moderate/moderate.php index 29294ec..d24c5c6 100644 --- a/htdocs/moderate/moderate.php +++ b/htdocs/moderate/moderate.php @@ -34,9 +34,7 @@ if (isset($_GET['id']) and is_numeric($_GET['id'])) { break; case 'delete': - if ($_SESSION['currentUser']->isAdmin()) { - $post->delete(); - } + $post->delete(); break; } |