Fix newline in the message per CR
authorsaper <saper@saper.info>
Wed, 21 Mar 2012 23:57:16 +0000 (00:57 +0100)
committersaper <saper@saper.info>
Thu, 22 Mar 2012 00:03:45 +0000 (01:03 +0100)
Change method visibility to private

https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113888#c32433

Change-Id: I8ea562cb5346de6823b3c0f0259d438bbefa8bac

includes/RecentChange.php
maintenance/deleteDefaultMessages.php

index a1097be..e57efae 100644 (file)
@@ -751,7 +751,7 @@ class RecentChange {
                return ChangesList::showCharacterDifference( $old, $new );
        }
 
-       public static function checkIPAddress( $ip ) {
+       private static function checkIPAddress( $ip ) {
                global $wgRequest;
                if ( $ip ) {
                        if ( !IP::isIPAddress( $ip ) ) {
index 989f7bd..4f5889b 100644 (file)
@@ -74,7 +74,7 @@ class DeleteDefaultMessages extends Maintenance {
                        $dbw->commit( __METHOD__ );
                }
 
-               $this->output( 'done!\n', 'msg' );
+               $this->output( "done!\n", 'msg' );
        }
 }