From: Fomafix Date: Sat, 6 Feb 2016 16:30:30 +0000 (+0000) Subject: OutputPage.php: Remove misleading comment X-Git-Tag: 1.31.0-rc.0~7986^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=ebf7d5825887564c47cc609b628cb7c8a1ff0c4e;p=lhc%2Fweb%2Fwiklou.git OutputPage.php: Remove misleading comment The whole comment was added in fc359e16f1 together with a strtolower(). In dcd44cdf7d the strtolower() and a part of the comment was removed. The rest of the comment makes no sense without a strtolower(). Change-Id: Ifa0d88a618e31f4a558bc93a098aabad35761569 --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 3adef5b251..244b713e22 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -3613,8 +3613,6 @@ class OutputPage extends ContextSource { */ public function addStyle( $style, $media = '', $condition = '', $dir = '' ) { $options = array(); - // Even though we expect the media type to be lowercase, but here we - // force it to lowercase to be safe. if ( $media ) { $options['media'] = $media; }