From 67ed2eb4b94fc055543072aa94e74a7e06ae2661 Mon Sep 17 00:00:00 2001 From: catch Date: Mon, 7 Jan 2013 13:25:36 +0000 Subject: [PATCH] Issue #1880830 by fabpot: Fixed Free performance improvement!. --- core/lib/Drupal/Core/CoreBundle.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/lib/Drupal/Core/CoreBundle.php b/core/lib/Drupal/Core/CoreBundle.php index ff48b04f3e7..fb8218a34dc 100644 --- a/core/lib/Drupal/Core/CoreBundle.php +++ b/core/lib/Drupal/Core/CoreBundle.php @@ -242,8 +242,6 @@ class CoreBundle extends Bundle { $container->addCompilerPass(new RegisterMatchersPass()); $container->addCompilerPass(new RegisterNestedMatchersPass()); - // Add a compiler pass for registering event subscribers. - $container->addCompilerPass(new RegisterKernelListenersPass(), PassConfig::TYPE_AFTER_REMOVING); // Add a compiler pass for adding Normalizers and Encoders to Serializer. $container->addCompilerPass(new RegisterSerializationClassesPass()); // Add a compiler pass for registering event subscribers.