From adf195623de333de678b0287f62453dc3ade3de9 Mon Sep 17 00:00:00 2001 From: Yassine Guedidi Date: Sun, 31 Dec 2023 09:40:42 +0100 Subject: [PATCH] Remove ApiBundle --- app/AppKernel.php | 1 - app/config/services.yml | 4 ---- .../DependencyInjection/Configuration.php | 19 ------------------ .../WallabagApiExtension.php | 20 ------------------- src/Wallabag/ApiBundle/WallabagApiBundle.php | 9 --------- 5 files changed, 53 deletions(-) delete mode 100644 src/Wallabag/ApiBundle/DependencyInjection/Configuration.php delete mode 100644 src/Wallabag/ApiBundle/DependencyInjection/WallabagApiExtension.php delete mode 100644 src/Wallabag/ApiBundle/WallabagApiBundle.php diff --git a/app/AppKernel.php b/app/AppKernel.php index 69c6db574..98a17e095 100644 --- a/app/AppKernel.php +++ b/app/AppKernel.php @@ -38,7 +38,6 @@ class AppKernel extends Kernel // wallabag bundles new Wallabag\CoreBundle\WallabagCoreBundle(), - new Wallabag\ApiBundle\WallabagApiBundle(), new Wallabag\ImportBundle\WallabagImportBundle(), ]; diff --git a/app/config/services.yml b/app/config/services.yml index 14bfa3123..103e2c024 100644 --- a/app/config/services.yml +++ b/app/config/services.yml @@ -32,10 +32,6 @@ services: $supportUrl: '@=service(''craue_config'').get(''wallabag_support_url'')' $fonts: '%wallabag_core.fonts%' - Wallabag\ApiBundle\: - resource: '../../src/Wallabag/ApiBundle/*' - exclude: '../../src/Wallabag/ApiBundle/{Controller,Entity}' - Wallabag\CoreBundle\: resource: '../../src/Wallabag/CoreBundle/*' exclude: ['../../src/Wallabag/CoreBundle/{Controller,Entity,DataFixtures}', '../../src/Wallabag/CoreBundle/Event/*Event.php'] diff --git a/src/Wallabag/ApiBundle/DependencyInjection/Configuration.php b/src/Wallabag/ApiBundle/DependencyInjection/Configuration.php deleted file mode 100644 index 1f206d2d4..000000000 --- a/src/Wallabag/ApiBundle/DependencyInjection/Configuration.php +++ /dev/null @@ -1,19 +0,0 @@ -processConfiguration($configuration, $configs); - } - - public function getAlias() - { - return 'wallabag_api'; - } -} diff --git a/src/Wallabag/ApiBundle/WallabagApiBundle.php b/src/Wallabag/ApiBundle/WallabagApiBundle.php deleted file mode 100644 index 19d887aba..000000000 --- a/src/Wallabag/ApiBundle/WallabagApiBundle.php +++ /dev/null @@ -1,9 +0,0 @@ -