Skip to content

Commit

Permalink
Fix coding standards
Browse files Browse the repository at this point in the history
  • Loading branch information
wa0x6e committed Aug 26, 2013
1 parent e315f56 commit 6a89133
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/Cake/Cache/Engine/MemcachedEngine.php
Expand Up @@ -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);

Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit 6a89133

Please sign in to comment.