diff --git a/lib/Resque/Redis.php b/lib/Resque/Redis.php index be5492a..bddd013 100755 --- a/lib/Resque/Redis.php +++ b/lib/Resque/Redis.php @@ -120,7 +120,8 @@ class Resque_Redis if (is_array($this->server)) { $this->driver = new Credis_Cluster($server); - } else { + } + else { list($host, $port, $dsnDatabase, $user, $password, $options) = $this->parseDsn($server); // $user is not used, only $password