Merge "Mark constructors of IndexPager subclasses as public"
[lhc/web/wiklou.git] / includes / libs / objectcache / CachedBagOStuff.php
index dbab593..726836e 100644 (file)
@@ -68,7 +68,7 @@ class CachedBagOStuff extends HashBagOStuff {
        }
 
        public function delete( $key, $flags = 0 ) {
-               unset( $this->bag[$key] );
+               parent::delete( $key );
                if ( !( $flags & self::WRITE_CACHE_ONLY ) ) {
                        $this->backend->delete( $key );
                }
@@ -86,6 +86,10 @@ class CachedBagOStuff extends HashBagOStuff {
                return $this->backend->deleteObjectsExpiringBefore( $date, $progressCallback );
        }
 
+       public function makeKeyInternal( $keyspace, $args ) {
+               return $this->backend->makeKeyInternal( ...func_get_args() );
+       }
+
        public function makeKey( $class, $component = null ) {
                return $this->backend->makeKey( ...func_get_args() );
        }