Index: trunk/phase3/includes/cache/HTMLFileCache.php |
— | — | @@ -65,8 +65,8 @@ |
66 | 66 | if ( !$wgUseFileCache ) { |
67 | 67 | return false; |
68 | 68 | } |
69 | | - if( $wgShowIPinHeader || $wgDebugToolbar ) { |
70 | | - wfDebug("HTML file cache skipped. Either \$wgShowIPinHeader and/or \$wgDebugToolbar on\n" ); |
| 69 | + if ( $wgShowIPinHeader || $wgDebugToolbar ) { |
| 70 | + wfDebug( "HTML file cache skipped. Either \$wgShowIPinHeader and/or \$wgDebugToolbar on\n" ); |
71 | 71 | return false; |
72 | 72 | } |
73 | 73 | |
— | — | @@ -90,7 +90,7 @@ |
91 | 91 | $ulang = $context->getLanguage()->getCode(); |
92 | 92 | $clang = $wgContLang->getCode(); |
93 | 93 | // Check that there are no other sources of variation |
94 | | - return !$wgShowIPinHeader && !$user->getId() && !$user->getNewtalk() && $ulang == $clang; |
| 94 | + return !$user->getId() && !$user->getNewtalk() && $ulang == $clang; |
95 | 95 | } |
96 | 96 | |
97 | 97 | /** |