Optimize get_instance() calls/assignments
diff --git a/system/libraries/Cache/drivers/Cache_redis.php b/system/libraries/Cache/drivers/Cache_redis.php
index f13e447..48c803d 100644
--- a/system/libraries/Cache/drivers/Cache_redis.php
+++ b/system/libraries/Cache/drivers/Cache_redis.php
@@ -208,7 +208,7 @@
{
$success = $this->_redis->connect($config['host'], $config['port'], $config['timeout']);
}
-
+
if ( ! $success)
{
log_message('debug', 'Cache: Redis connection refused. Check the config.');
@@ -225,7 +225,7 @@
{
$this->_redis->auth($config['password']);
}
-
+
return TRUE;
}