OutputPage.php: Remove misleading comment
authorFomafix <fomafix@googlemail.com>
Sat, 6 Feb 2016 16:30:30 +0000 (16:30 +0000)
committer[[mw:User:Fomafix]] <gerritpatchuploader@gmail.com>
Sat, 6 Feb 2016 16:30:30 +0000 (16:30 +0000)
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

index 3adef5b..244b713 100644 (file)
@@ -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;
                }