UserBackend: Utilize ResourceFactory::create

This commit is contained in:
Johannes Meyer 2015-04-22 09:35:41 +02:00
parent c9dcddb134
commit a1d8ed6e8f
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ abstract class UserBackend implements Countable
$name
);
}
$resource = ResourceFactory::createResource(ResourceFactory::getResourceConfig($backendConfig->resource));
$resource = ResourceFactory::create($backendConfig->resource);
switch ($backendType) {
case 'db':