|
@@ -167,7 +167,7 @@ |
|
|
block discarded – undo |
|
167
|
167
|
throw new NotFoundException($this->l10n->t('Message queueing capabilities are missing on the server.')); |
|
168
|
168
|
} |
|
169
|
169
|
$redis = new \Redis(); |
|
170
|
|
- if (!$redis->connect($this->redisHost, $this->redisPort, 2.5, NULL, 100)) { |
|
|
170
|
+ if (!$redis->connect($this->redisHost, $this->redisPort, 2.5, null, 100)) { |
|
171
|
171
|
$this->logger->debug('Cannot connect to Redis.'); |
|
172
|
172
|
throw new NotFoundException($this->l10n->t('Cannot connect to Redis.')); |
|
173
|
173
|
} |
Please login to merge, or discard this patch.