diff --git a/app/AppKernel.php b/app/AppKernel.php index 286cfb699..ede8fec03 100644 --- a/app/AppKernel.php +++ b/app/AppKernel.php @@ -35,9 +35,6 @@ class AppKernel extends Kernel new Http\HttplugBundle\HttplugBundle(), new Sentry\SentryBundle\SentryBundle(), new Twig\Extra\TwigExtraBundle\TwigExtraBundle(), - - // wallabag bundles - new Wallabag\CoreBundle\WallabagCoreBundle(), ]; if (in_array($this->getEnvironment(), ['dev', 'test'], true)) { diff --git a/app/config/config.yml b/app/config/config.yml index 2a2869c3a..3db473e98 100644 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -68,6 +68,13 @@ doctrine: entity_managers: default: auto_mapping: true + mappings: + Wallabag: + type: annotation + is_bundle: false + dir: '%kernel.project_dir%/src/Entity' + prefix: 'Wallabag\CoreBundle\Entity' + alias: Wallabag stof_doctrine_extensions: default_locale: "%locale%" diff --git a/app/config/routing.yml b/app/config/routing.yml index 3cfaef516..fc5a501b1 100644 --- a/app/config/routing.yml +++ b/app/config/routing.yml @@ -1,5 +1,5 @@ app: - resource: "@WallabagCoreBundle/Controller/" + resource: ../../src/Controller/ type: annotation doc-api: diff --git a/src/DependencyInjection/Configuration.php b/src/DependencyInjection/Configuration.php deleted file mode 100644 index 939e9459c..000000000 --- a/src/DependencyInjection/Configuration.php +++ /dev/null @@ -1,14 +0,0 @@ -