Version 4.7.23
This commit is contained in:
1 parent
7124a02564
commit
25ddeb65d6
1791 files changed
+76990
-44452
No files matched your search
@@ -32,9 +32,10 @@ class _Redis extends \IPS\Data\Cache
|
||||
{
|
||||
try
|
||||
{
|
||||
$connection = \IPS\Redis::i()->connection('write');
|
||||
$writeConnection = \IPS\Redis::i()->connection('write');
|
||||
$readConnection = \IPS\Redis::i()->connection('read');
|
||||
|
||||
if( !$connection )
|
||||
if( !$writeConnection OR !$readConnection )
|
||||
{
|
||||
throw new \RedisException;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user