[SecurityBundle] Remove dead code

This commit is contained in:
Robin Chalas 2017-09-30 20:09:08 +02:00
parent da2231e900
commit 0067948c2c

View File

@ -266,10 +266,6 @@ class SecurityExtension extends Extension
}
$defaultProvider = reset($providerIds);
if (count($providerIds) > 1) {
@trigger_error(sprintf('Firewall "%s" has no "provider" set but multiple providers exist. Using the first configured provider (%s) is deprecated since 3.4 and will throw an exception in 4.0, set the "provider" key on the firewall instead.', $id, key($providerIds)), E_USER_DEPRECATED);
}
}
$config->replaceArgument(5, $defaultProvider);