Permalink
Browse files

Fix coding standards

  • Loading branch information...
1 parent e315f56 commit 6a8913361f6fc43cd3b06778bd81433b5a8af3f4 @wa0x6e wa0x6e committed Aug 26, 2013
Showing with 2 additions and 3 deletions.
  1. +2 −3 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);
}

0 comments on commit 6a89133

Please sign in to comment.