r74148 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74147‎ | r74148 | r74149 >
Date:18:45, 2 October 2010
Author:maxsem
Status:ok
Tags:
Comment:
Fix botched up comments
Modified paths:
  • /trunk/phase3/includes/db/DatabaseMssql.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/db/DatabaseMssql.php
@@ -68,7 +68,7 @@
6969
7070 global $wgDBport;
7171
72 - if ( !strlen( $user ) ) { # # e.g. the class is being loaded
 72+ if ( !strlen( $user ) ) { # e.g. the class is being loaded
7373 return;
7474 }
7575
@@ -836,12 +836,12 @@
837837 dieout( htmlspecialchars( $res ) );
838838 }
839839
840 - # # Avoid the non-standard "REPLACE INTO" syntax
 840+ # Avoid the non-standard "REPLACE INTO" syntax
841841 $f = fopen( "../maintenance/interwiki.sql", 'r' );
842842 if ( $f == false ) {
843843 dieout( "<li>Could not find the interwiki.sql file" );
844844 }
845 - # # We simply assume it is already empty as we have just created it
 845+ # We simply assume it is already empty as we have just created it
846846 $SQL = "INSERT INTO interwiki(iw_prefix,iw_url,iw_local) VALUES ";
847847 while ( ! feof( $f ) ) {
848848 $line = fgets( $f, 1024 );
@@ -983,7 +983,7 @@
984984 return implode( ' ', array( $straightJoins, $otherJoins ) );
985985 }
986986
987 - function strencode( $s ) { # # Should not be called by us
 987+ function strencode( $s ) { # Should not be called by us
988988 return str_replace( "'", "''", $s );
989989 }
990990

Status & tagging log