summaryrefslogtreecommitdiffstats
path: root/lib/private/Memcache/Redis.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Memcache/Redis.php')
-rw-r--r--lib/private/Memcache/Redis.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Memcache/Redis.php b/lib/private/Memcache/Redis.php
index 56470afa0c5..303b3afb67e 100644
--- a/lib/private/Memcache/Redis.php
+++ b/lib/private/Memcache/Redis.php
@@ -69,7 +69,7 @@ class Redis extends Cache implements IMemcacheTTL {
}
public function hasKey($key) {
- return self::$cache->exists($this->getNameSpace() . $key);
+ return (bool)self::$cache->exists($this->getNameSpace() . $key);
}
public function remove($key) {