Remove superfluous parentheses
This commit is contained in:
1 file changed
+1
-1
@@ -72,7 +72,7 @@ public static function serve_page_through_redis_cache(string $redisKey, int $exp
|
|||||||
|
|
||||||
ob_start();
|
ob_start();
|
||||||
|
|
||||||
if (($redisResult = $redis->get($redisKey))) {
|
if ($redisResult = $redis->get($redisKey)) {
|
||||||
|
|
||||||
if (strlen($redisResult) > 3 and strpos($redisResult, ' id="errorPage"') === false) {
|
if (strlen($redisResult) > 3 and strpos($redisResult, ' id="errorPage"') === false) {
|
||||||
$redis->close();
|
$redis->close();
|
||||||
|
|||||||
Reference in new issue
Block a user