From: Max Semenik Date: Sat, 2 Oct 2010 18:45:18 +0000 (+0000) Subject: Fix botched up comments X-Git-Tag: 1.31.0-rc.0~34673 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=64acd613775bdb579f9701d036a98eb57e130fb3;p=lhc%2Fweb%2Fwiklou.git Fix botched up comments --- diff --git a/includes/db/DatabaseMssql.php b/includes/db/DatabaseMssql.php index 38c95a951a..8be7ebbc8d 100644 --- a/includes/db/DatabaseMssql.php +++ b/includes/db/DatabaseMssql.php @@ -68,7 +68,7 @@ class DatabaseMssql extends DatabaseBase { global $wgDBport; - if ( !strlen( $user ) ) { # # e.g. the class is being loaded + if ( !strlen( $user ) ) { # e.g. the class is being loaded return; } @@ -836,12 +836,12 @@ class DatabaseMssql extends DatabaseBase { dieout( htmlspecialchars( $res ) ); } - # # Avoid the non-standard "REPLACE INTO" syntax + # Avoid the non-standard "REPLACE INTO" syntax $f = fopen( "../maintenance/interwiki.sql", 'r' ); if ( $f == false ) { dieout( "
  • Could not find the interwiki.sql file" ); } - # # We simply assume it is already empty as we have just created it + # We simply assume it is already empty as we have just created it $SQL = "INSERT INTO interwiki(iw_prefix,iw_url,iw_local) VALUES "; while ( ! feof( $f ) ) { $line = fgets( $f, 1024 ); @@ -983,7 +983,7 @@ class DatabaseMssql extends DatabaseBase { return implode( ' ', array( $straightJoins, $otherJoins ) ); } - function strencode( $s ) { # # Should not be called by us + function strencode( $s ) { # Should not be called by us return str_replace( "'", "''", $s ); }