summaryrefslogtreecommitdiffstats
path: root/system/libraries/Cache/drivers
diff options
context:
space:
mode:
authorMasterklavi <masterklavi@gmail.com>2016-03-12 11:27:58 +0100
committerMasterklavi <masterklavi@gmail.com>2016-03-12 11:27:58 +0100
commita604554c592c090334b3a57d41e498d6f03fd1e4 (patch)
treea3126128d0af6fd29814af5f23f1a8c9677b1e47 /system/libraries/Cache/drivers
parentd03832c6ee27ac1dcf3c5bff3831fcfdd35765f6 (diff)
Removed an unnecessary is_array() check.
Diffstat (limited to 'system/libraries/Cache/drivers')
-rw-r--r--system/libraries/Cache/drivers/Cache_memcached.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Cache/drivers/Cache_memcached.php b/system/libraries/Cache/drivers/Cache_memcached.php
index 02b2d438e..2d6236a6f 100644
--- a/system/libraries/Cache/drivers/Cache_memcached.php
+++ b/system/libraries/Cache/drivers/Cache_memcached.php
@@ -83,7 +83,7 @@ class CI_Cache_memcached extends CI_Driver {
$CI =& get_instance();
$defaults = $this->_config['default'];
- if ($CI->config->load('memcached', TRUE, TRUE) && is_array($CI->config->config['memcached']))
+ if ($CI->config->load('memcached', TRUE, TRUE))
{
$this->_config = $CI->config->config['memcached'];
}