Skip to content

Commit

Permalink
namespace bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xrowdominik committed Jan 27, 2017
1 parent 0ac260c commit eb03888
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions LegacyMapper/AdditionalConfig.php
Expand Up @@ -6,7 +6,6 @@
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\DependencyInjection\ContainerAwareTrait;


/**
* Maps configuration parameters to the legacy parameters
* Similar to https://github.com/ezsystems/LegacyBridge/blob/master/bundle/LegacyMapper/Configuration.php
Expand All @@ -17,9 +16,9 @@ class AdditionalConfig implements EventSubscriberInterface

public static function getSubscribedEvents()
{
if ( class_exists("eZ\Publish\Core\MVC\Legacy\LegacyEvents") ){
if ( class_exists("\eZ\Publish\Core\MVC\Legacy\LegacyEvents") ){
return array(
eZ\Publish\Core\MVC\Legacy\LegacyEvents::PRE_BUILD_LEGACY_KERNEL => array( "onBuildKernel", 129 )
\eZ\Publish\Core\MVC\Legacy\LegacyEvents::PRE_BUILD_LEGACY_KERNEL => array( "onBuildKernel", 129 )
);
}
return array();
Expand All @@ -40,7 +39,6 @@ public function onBuildKernel( PreBuildKernelEvent $event )
$event->getParameters()->set(
"injected-settings",
$settings + (array)$event->getParameters()->get( "injected-settings" )
);

);
}
}

0 comments on commit eb03888

Please sign in to comment.