diff options
author | Andreas Fischer <bantu@owncloud.com> | 2013-08-15 03:36:42 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@owncloud.com> | 2013-08-15 03:36:42 +0200 |
commit | 341d9caf79531b636e6db37a18e46df8c0eadbb4 (patch) | |
tree | cf2daef81b469baa81ce482e2fa39ad8e66e6da9 | |
parent | 799106db811c432a6eea4d15b57339e980ab8cf7 (diff) | |
download | nextcloud-server-341d9caf79531b636e6db37a18e46df8c0eadbb4.tar.gz nextcloud-server-341d9caf79531b636e6db37a18e46df8c0eadbb4.zip |
xcache_unset_by_prefix() returns feedback, return it.
-rw-r--r-- | lib/memcache/xcache.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/memcache/xcache.php b/lib/memcache/xcache.php index 91b9810cc6b..115603109c9 100644 --- a/lib/memcache/xcache.php +++ b/lib/memcache/xcache.php @@ -38,7 +38,7 @@ class XCache extends Cache { public function clear($prefix='') { if (function_exists('xcache_unset_by_prefix')) { - xcache_unset_by_prefix($this->getNamespace().$prefix); + return xcache_unset_by_prefix($this->getNamespace().$prefix); } else { // Since we can not clear by prefix, we just clear the whole cache. xcache_clear_cache(\XC_TYPE_VAR, 0); |