mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Removing extra spaces
This commit is contained in:
parent
f105abde4e
commit
e6a87bac40
1 changed files with 2 additions and 2 deletions
|
@ -77,9 +77,9 @@ class RedisEngine extends CacheEngine {
|
|||
try {
|
||||
$this->_Redis = new Redis();
|
||||
if (empty($this->settings['persistent'])) {
|
||||
$return = $this->_Redis->connect($this->settings['server']);
|
||||
$return = $this->_Redis->connect($this->settings['server']);
|
||||
} else {
|
||||
$return = $this->_Redis->pconnect($this->settings['server']);
|
||||
$return = $this->_Redis->pconnect($this->settings['server']);
|
||||
}
|
||||
} catch (RedisException $e) {
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue