From ebf7d5825887564c47cc609b628cb7c8a1ff0c4e Mon Sep 17 00:00:00 2001 From: Fomafix Date: Sat, 6 Feb 2016 16:30:30 +0000 Subject: [PATCH] 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 --- includes/OutputPage.php | 2 -- 1 file changed, 2 deletions(-) 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; } -- 2.20.1