From: Aaron Schulz Date: Sat, 30 Jul 2016 03:03:24 +0000 (-0700) Subject: Unbreak file caching X-Git-Tag: 1.31.0-rc.0~6217^2 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=017c9169e888c4e74832922a3ebb47aeb3e10a17;p=lhc%2Fweb%2Fwiklou.git Unbreak file caching This was totally broken by 796d62d0 Change-Id: I34ee08e926117b9472151d9fd415c1dfc6a57de1 --- diff --git a/includes/cache/HTMLFileCache.php b/includes/cache/HTMLFileCache.php index bb78aa0dbd..ea2e20b1cd 100644 --- a/includes/cache/HTMLFileCache.php +++ b/includes/cache/HTMLFileCache.php @@ -127,7 +127,7 @@ class HTMLFileCache extends FileCacheBase { $ulang = $context->getLanguage(); // Check that there are no other sources of variation - if ( $user->getId() || $user->getNewtalk() || $ulang->equals( $wgContLang ) ) { + if ( $user->getId() || $user->getNewtalk() || !$ulang->equals( $wgContLang ) ) { return false; } // Allow extensions to disable caching