Skip to content
Snippets Groups Projects
Commit f671b35c authored by Fabian Erni's avatar Fabian Erni Committed by Demian Katz
Browse files

Update MultiBackend.php

In case you named your driver in camel case (we did), the source (which is now lower case only) will no longer match the key in $this->drivers (which contains the original keys from the file) and the loading of the driver will fail
parent 5e793e12
No related merge requests found
......@@ -258,8 +258,6 @@ class MultiBackend extends AbstractBase implements ServiceLocatorAwareInterface
*/
protected function getUninitializedDriver($source)
{
$source = strtolower($source);
// We don't really care if it's initialized here. If it is, then there's
// still no added overhead of returning an initialized driver.
if (isset($this->cache[$source])) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment