[SecurityBundle] Remove dead code
This commit is contained in:
parent
da2231e900
commit
0067948c2c
@ -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);
|
||||
|
Reference in New Issue
Block a user