From cd73f6e788b22dd8d5b34464d6f80d9bde211c64 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20Dziewo=C5=84ski?= Date: Mon, 30 Mar 2015 19:27:31 +0200 Subject: [PATCH] ResourceLoaderImageModule: Remove bogus CSSJanus call We explicitly do not want to use CSSJanus flipping here, as ResourceLoaderImage has a separate and more sophisticated mechanism for choosing the right image for given language. This was a no-op, since there were no flippable paths in the output at this point. Change-Id: Ieff5f21653504a28afe3d4c110a52d8b06fc6a07 --- includes/resourceloader/ResourceLoaderImageModule.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/includes/resourceloader/ResourceLoaderImageModule.php b/includes/resourceloader/ResourceLoaderImageModule.php index 88ba59752b..5063ff9d5d 100644 --- a/includes/resourceloader/ResourceLoaderImageModule.php +++ b/includes/resourceloader/ResourceLoaderImageModule.php @@ -273,9 +273,6 @@ class ResourceLoaderImageModule extends ResourceLoaderModule { } $style = implode( "\n", $rules ); - if ( $this->getFlip( $context ) ) { - $style = CSSJanus::transform( $style, true, false ); - } return array( 'all' => $style ); } -- 2.20.1