mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix coding standards
This commit is contained in:
parent
e315f563be
commit
6a8913361f
1 changed files with 2 additions and 3 deletions
|
@ -109,8 +109,7 @@ class MemcachedEngine extends CacheEngine {
|
|||
* 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 @@ class MemcachedEngine extends CacheEngine {
|
|||
|
||||
$keys = $this->_Memcached->getAllKeys();
|
||||
|
||||
foreach($keys as $key) {
|
||||
foreach ($keys as $key) {
|
||||
if (strpos($key, $this->settings['prefix']) === 0) {
|
||||
$this->_Memcached->delete($key);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue