diff --git a/lib/Cake/Cache/Engine/MemcachedEngine.php b/lib/Cake/Cache/Engine/MemcachedEngine.php index 9729283ac59..6cdab23f9ee 100755 --- a/lib/Cake/Cache/Engine/MemcachedEngine.php +++ b/lib/Cake/Cache/Engine/MemcachedEngine.php @@ -109,8 +109,7 @@ public function init($settings = array()) { * Settings the memcached instance * */ - protected function _setOptions() - { + protected function _setOptions() { $this->_Memcached->setOption(Memcached::OPT_LIBKETAMA_COMPATIBLE, true); //$this->_Memcached->setOption(Memcached::OPT_BINARY_PROTOCOL, true); @@ -225,7 +224,7 @@ public function clear($check) { $keys = $this->_Memcached->getAllKeys(); - foreach($keys as $key) { + foreach ($keys as $key) { if (strpos($key, $this->settings['prefix']) === 0) { $this->_Memcached->delete($key); }