Index: trunk/phase3/includes/db/DatabaseMssql.php |
— | — | @@ -68,7 +68,7 @@ |
69 | 69 | |
70 | 70 | global $wgDBport; |
71 | 71 | |
72 | | - if ( !strlen( $user ) ) { # # e.g. the class is being loaded |
| 72 | + if ( !strlen( $user ) ) { # e.g. the class is being loaded |
73 | 73 | return; |
74 | 74 | } |
75 | 75 | |
— | — | @@ -836,12 +836,12 @@ |
837 | 837 | dieout( htmlspecialchars( $res ) ); |
838 | 838 | } |
839 | 839 | |
840 | | - # # Avoid the non-standard "REPLACE INTO" syntax |
| 840 | + # Avoid the non-standard "REPLACE INTO" syntax |
841 | 841 | $f = fopen( "../maintenance/interwiki.sql", 'r' ); |
842 | 842 | if ( $f == false ) { |
843 | 843 | dieout( "<li>Could not find the interwiki.sql file" ); |
844 | 844 | } |
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 |
846 | 846 | $SQL = "INSERT INTO interwiki(iw_prefix,iw_url,iw_local) VALUES "; |
847 | 847 | while ( ! feof( $f ) ) { |
848 | 848 | $line = fgets( $f, 1024 ); |
— | — | @@ -983,7 +983,7 @@ |
984 | 984 | return implode( ' ', array( $straightJoins, $otherJoins ) ); |
985 | 985 | } |
986 | 986 | |
987 | | - function strencode( $s ) { # # Should not be called by us |
| 987 | + function strencode( $s ) { # Should not be called by us |
988 | 988 | return str_replace( "'", "''", $s ); |
989 | 989 | } |
990 | 990 | |