From: Aaron Schulz Date: Wed, 11 Jul 2018 12:43:03 +0000 (+0100) Subject: objectcache: avoid direct "bag" field references in CachedBagOStuff X-Git-Tag: 1.34.0-rc.0~4761^2 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=c974d0cd7c049a39dba1704398163915fcf0215b;p=lhc%2Fweb%2Fwiklou.git objectcache: avoid direct "bag" field references in CachedBagOStuff Change-Id: I853e2e3a33c7f765f74c7273e1b118b1ebf4e84c --- diff --git a/includes/libs/objectcache/CachedBagOStuff.php b/includes/libs/objectcache/CachedBagOStuff.php index dbab593915..57aee26f23 100644 --- a/includes/libs/objectcache/CachedBagOStuff.php +++ b/includes/libs/objectcache/CachedBagOStuff.php @@ -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 ); }