sources/Controllers/AdminCommentsController.php
Method handleGet
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function handleGet($get, $post, $files, $cookies)
{
if (Models\User::currentUser($cookies)->authorizationLevel < 5) {
throw new \Exception('You are not authorized to view this page');
}