Skip to content

Commit

Permalink
Horde::getDriverConfig() returns the parameters array directly
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Feb 25, 2014
1 parent a57d90b commit ea1c2b4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions framework/Core/lib/Horde/Core/Factory/Cache.php
Expand Up @@ -57,10 +57,7 @@ public function create(Horde_Injector $injector)
$driver = $this->getDriverName();

/* Storage driver parameters. */
$dconfig = Horde::getDriverConfig('cache', $driver);
$sparams = isset($dconfig['params'])
? $dconfig['params']
: array();
$sparams = Horde::getDriverConfig('cache', $driver);

switch ($driver) {
case 'hashtable':
Expand Down

0 comments on commit ea1c2b4

Please sign in to comment.