Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix coding standards

  • Loading branch information...
commit 6a8913361f6fc43cd3b06778bd81433b5a8af3f4 1 parent e315f56
@kamisama kamisama authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 lib/Cake/Cache/Engine/MemcachedEngine.php
View
5 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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.