diff --git a/includes/SeenTime.php b/includes/SeenTime.php index e95e3ce54..5f8ee1cc1 100644 --- a/includes/SeenTime.php +++ b/includes/SeenTime.php @@ -56,7 +56,7 @@ class SeenTime { 'Either $wgEchoSeenTimeCacheType or $wgMainStash must be set' ); } - return new CachedBagOStuff( $services->getObjectCacheFactory()->getInstance( $cacheConfig ) ); + $wrappedCache = new CachedBagOStuff( $services->getObjectCacheFactory()->getInstance( $cacheConfig ) ); } return $wrappedCache;