From 6a923a3fb5da15c4b6a68e4945a4aca45a4fbb55 Mon Sep 17 00:00:00 2001 From: Erik Hanson Date: Thu, 2 Jan 2025 14:28:42 -0800 Subject: [PATCH] WIP: Remove i18n change --- api/v1/_i18n/I18nController.php | 6 ------ 1 file changed, 6 deletions(-) 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() */