diff --git a/core-bundle/src/HttpKernel/Bundle/ResourceProvider.php b/core-bundle/src/HttpKernel/Bundle/ResourceProvider.php
index <HASH>..<HASH> 100644
--- a/core-bundle/src/HttpKernel/Bundle/ResourceProvider.php
+++ b/core-bundle/src/HttpKernel/Bundle/ResourceProvider.php
@@ -63,6 +63,7 @@ class ResourceProvider
      */
     public function getBundleNames()
     {
+        // FIXME: this method should be removed as soon as we drop coreOnlyMode
         return array_keys($this->contaoResources);
     }
[Core] ResourceProvider::getBundleNames should not be used

We should always use kernel.bundles from the DIC