From f39cbe7d803245702885b308ab1cee4551aea9a1 Mon Sep 17 00:00:00 2001 From: Markus Hatvan Date: Sat, 4 Sep 2021 17:03:53 +0200 Subject: chore: remove what's new functionality (#1864) --- .../app/Controllers/Http/StaticController.js | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'src/internal-server/app/Controllers/Http') diff --git a/src/internal-server/app/Controllers/Http/StaticController.js b/src/internal-server/app/Controllers/Http/StaticController.js index 28c5389a9..33e0e52d9 100644 --- a/src/internal-server/app/Controllers/Http/StaticController.js +++ b/src/internal-server/app/Controllers/Http/StaticController.js @@ -7,25 +7,14 @@ import { DEFAULT_FEATURES_CONFIG } from '../../../../config'; // TODO: This endpoint and associated code needs to be remoeved as cleanup class StaticController { // Enable all features - features({ - response, - }) { + features({ response }) { return response.send(DEFAULT_FEATURES_CONFIG); } // Return an empty array - emptyArray({ - response, - }) { + emptyArray({ response }) { return response.send([]); } - - // Show announcements - announcement({ - response, - }) { - return response.send({}); - } } export default StaticController; -- cgit v1.2.3-70-g09d2