diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/memcache/null.php | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/private/memcache/null.php b/lib/private/memcache/null.php index c9b07f48ce2..982f7edc80f 100644 --- a/lib/private/memcache/null.php +++ b/lib/private/memcache/null.php @@ -22,7 +22,7 @@ namespace OC\Memcache; -class Null extends Cache { +class Null extends Cache implements \OCP\IMemcache { public function get($key) { return null; } @@ -39,11 +39,15 @@ class Null extends Cache { return true; } - public function inc($key) { + public function add($key, $value, $ttl = 0) { return true; } - public function dec($key) { + public function inc($key, $step = 1) { + return true; + } + + public function dec($key, $step = 1) { return true; } |