diff --git a/api/v1/_i18n/I18nController.php b/api/v1/_i18n/I18nController.php index a1f73bf683d..9dab73be25a 100644 --- a/api/v1/_i18n/I18nController.php +++ b/api/v1/_i18n/I18nController.php @@ -21,7 +21,6 @@ use Illuminate\Http\Response; use Illuminate\Support\Facades\Route; use PKP\core\PKPBaseController; -use PKP\core\PKPRequest; use PKP\facades\Locale; class I18nController extends PKPBaseController @@ -42,11 +41,6 @@ public function getRouteGroupMiddleware(): array return []; } - public function authorize(PKPRequest $request, array &$args, array $roleAssignments): bool - { - return true; - } - /** * @copydoc \PKP\core\PKPBaseController::getGroupRoutes() */