diff options
author | Masterklavi <masterklavi@gmail.com> | 2016-03-12 07:28:57 +0100 |
---|---|---|
committer | Masterklavi <masterklavi@gmail.com> | 2016-03-12 07:28:57 +0100 |
commit | 2f10aebf8ca7d650ecf7614e8d5e3455c88f96d9 (patch) | |
tree | 04de3b5057abc8e20b161eab0298582317008725 /system/libraries/Cache | |
parent | 4933c16efd7bad7353877910b7d43d0b5a87735e (diff) |
Reduction of constructions
Diffstat (limited to 'system/libraries/Cache')
-rw-r--r-- | system/libraries/Cache/drivers/Cache_memcached.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/system/libraries/Cache/drivers/Cache_memcached.php b/system/libraries/Cache/drivers/Cache_memcached.php index 09dc7b0de..7a3267a1e 100644 --- a/system/libraries/Cache/drivers/Cache_memcached.php +++ b/system/libraries/Cache/drivers/Cache_memcached.php @@ -87,12 +87,7 @@ class CI_Cache_memcached extends CI_Driver { { if (is_array($CI->config->config['memcached'])) { - $this->_config = array(); - - foreach ($CI->config->config['memcached'] as $name => $conf) - { - $this->_config[$name] = $conf; - } + $this->_config = $CI->config->config['memcached']; } } |