From d4465bebf9a9972e1f325251c16a66f511b4b8c4 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 11 Mar 2024 14:02:24 +0100 Subject: [PATCH] Remove unused components --- .../files/lib/action/ApiAction.class.php | 2 -- .../lib/system/endpoint/Parameters.class.php | 12 ---------- .../endpoint/error/ControllerError.class.php | 11 --------- .../error/RouteParameterError.class.php | 9 -------- .../exception/ControllerMalformed.class.php | 23 ------------------- .../RouteParameterMismatch.class.php | 17 -------------- 6 files changed, 74 deletions(-) delete mode 100644 wcfsetup/install/files/lib/system/endpoint/Parameters.class.php delete mode 100644 wcfsetup/install/files/lib/system/endpoint/error/ControllerError.class.php delete mode 100644 wcfsetup/install/files/lib/system/endpoint/error/RouteParameterError.class.php delete mode 100644 wcfsetup/install/files/lib/system/endpoint/exception/ControllerMalformed.class.php delete mode 100644 wcfsetup/install/files/lib/system/endpoint/exception/RouteParameterMismatch.class.php diff --git a/wcfsetup/install/files/lib/action/ApiAction.class.php b/wcfsetup/install/files/lib/action/ApiAction.class.php index 0779b6fc70..34f3fa02f7 100644 --- a/wcfsetup/install/files/lib/action/ApiAction.class.php +++ b/wcfsetup/install/files/lib/action/ApiAction.class.php @@ -13,9 +13,7 @@ use Psr\Http\Server\RequestHandlerInterface; use wcf\system\endpoint\event\ControllerCollecting; use wcf\system\endpoint\GetRequest; use wcf\system\endpoint\IController; -use wcf\system\endpoint\Parameters; use wcf\system\endpoint\PostRequest; -use wcf\system\endpoint\ApiController; use wcf\system\endpoint\RequestType; use wcf\system\event\EventHandler; use wcf\system\request\RouteHandler; diff --git a/wcfsetup/install/files/lib/system/endpoint/Parameters.class.php b/wcfsetup/install/files/lib/system/endpoint/Parameters.class.php deleted file mode 100644 index 4c508d6df9..0000000000 --- a/wcfsetup/install/files/lib/system/endpoint/Parameters.class.php +++ /dev/null @@ -1,12 +0,0 @@ -name, - $parameter->getDeclaringClass()->name, - $parameter->getDeclaringFunction()->name, - ), - ); - } -} diff --git a/wcfsetup/install/files/lib/system/endpoint/exception/RouteParameterMismatch.class.php b/wcfsetup/install/files/lib/system/endpoint/exception/RouteParameterMismatch.class.php deleted file mode 100644 index a513a8511a..0000000000 --- a/wcfsetup/install/files/lib/system/endpoint/exception/RouteParameterMismatch.class.php +++ /dev/null @@ -1,17 +0,0 @@ -