* Fixed missing prefix for cache get() and delete() functions

Cause those functions to not work correctly..

(cherry picked from commit b3625df)
This commit is contained in:
slawkens
2018-06-01 15:03:13 +02:00
parent 6ba8d2c9cb
commit d5cc2a1090
3 changed files with 6 additions and 6 deletions

View File

@@ -30,7 +30,7 @@ class Cache_XCache
public function get($key)
{
$tmp = '';
if($this->fetch($key, $tmp))
if($this->fetch($this->prefix . $key, $tmp))
return $tmp;
return '';
@@ -47,7 +47,7 @@ class Cache_XCache
}
public function delete($key) {
xcache_unset($key);
xcache_unset($this->prefix . $key);
}
public function enabled() {