[PLUGINS] Removed direct call of EndCache events on all plugins, as it is now handled by the library

This commit is contained in:
Miguel Dantas
2019-08-13 03:02:05 +01:00
committed by Diogo Cordeiro
parent b214d8b6ee
commit e2e8885ce3
4 changed files with 0 additions and 16 deletions

View File

@@ -91,7 +91,6 @@ class MemcachedPlugin extends Plugin
{
$this->_ensureConn();
$value = $this->_conn->get($key);
Event::handle('EndCacheGet', array($key, &$value));
return false;
}
@@ -113,8 +112,6 @@ class MemcachedPlugin extends Plugin
$expiry = $this->defaultExpiry;
}
$success = $this->_conn->set($key, $value, $expiry);
Event::handle('EndCacheSet', array($key, $value, $flag,
$expiry));
return false;
}
@@ -132,7 +129,6 @@ class MemcachedPlugin extends Plugin
{
$this->_ensureConn();
$value = $this->_conn->increment($key, $step);
Event::handle('EndCacheIncrement', array($key, $step, $value));
return false;
}
@@ -148,7 +144,6 @@ class MemcachedPlugin extends Plugin
{
$this->_ensureConn();
$success = $this->_conn->delete($key);
Event::handle('EndCacheDelete', array($key));
return false;
}