From 76ee383ea463a9162377aa86ad9b21cf929354cd Mon Sep 17 00:00:00 2001 From: thrillfall Date: Wed, 13 Oct 2021 22:54:15 +0200 Subject: [PATCH] remove unused VersionController --- appinfo/routes.php | 5 ---- lib/Controller/VersionController.php | 40 ---------------------------- 2 files changed, 45 deletions(-) delete mode 100644 lib/Controller/VersionController.php diff --git a/appinfo/routes.php b/appinfo/routes.php index 0178bff..cad5639 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -14,10 +14,5 @@ return [ ['name' => 'subscription_change#list', 'url' => '/subscriptions', 'verb' => 'GET'], ['name' => 'subscription_change#create', 'url' => '/subscription_change/create', 'verb' => 'POST'], - - ['name' => 'version#index', 'url' => '/', 'verb' => 'GET'], - - - ] ]; diff --git a/lib/Controller/VersionController.php b/lib/Controller/VersionController.php deleted file mode 100644 index 8e3d472..0000000 --- a/lib/Controller/VersionController.php +++ /dev/null @@ -1,40 +0,0 @@ -userId = $UserId; - } - - /** - * - * @NoAdminRequired - * @NoCSRFRequired - * - * @return Response - */ - public function index() { - return new JSONResponse(["version" => "0.1"]); - } - - -}