From: Bartosz DziewoƄski Date: Mon, 30 Mar 2015 17:27:31 +0000 (+0200) Subject: ResourceLoaderImageModule: Remove bogus CSSJanus call X-Git-Tag: 1.31.0-rc.0~11892 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/rappels.php?a=commitdiff_plain;h=cd73f6e788b22dd8d5b34464d6f80d9bde211c64;p=lhc%2Fweb%2Fwiklou.git 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 --- 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 ); }