Cache: Make APCUBagOStuff::set return a useful value
[lhc/web/wiklou.git] / includes / libs / objectcache / APCUBagOStuff.php
index 0483ee7..ed4eb35 100644 (file)
@@ -54,13 +54,11 @@ class APCUBagOStuff extends BagOStuff {
        }
 
        public function set( $key, $value, $exptime = 0, $flags = 0 ) {
-               apcu_store(
+               return apcu_store(
                        $key . self::KEY_SUFFIX,
                        $this->serialize( $value ),
                        $exptime
                );
-
-               return true;
        }
 
        public function add( $key, $value, $exptime = 0, $flags = 0 ) {