Index: trunk/extensions/Farmer/MediaWikiFarmer_Wiki.php |
— | — | @@ -412,7 +412,7 @@ |
413 | 413 | $user = $farmer->dbAdminUser; |
414 | 414 | $password = $farmer->dbAdminPassword; |
415 | 415 | $class = 'Database' . ucfirst( $wgDBtype ); |
416 | | - $object = new $class( $wgDBserver, $user, $password, $db, false, 0, $prefix ); |
| 416 | + $object = new $class( $wgDBserver, $user, $password, $db, 0, $prefix ); |
417 | 417 | if ( $selectDB ) |
418 | 418 | $this->_db = $object; |
419 | 419 | return $object; |
Index: trunk/extensions/Wikidata/Database scripts/Incremental/ReadPatch.php |
— | — | @@ -158,7 +158,7 @@ |
159 | 159 | } |
160 | 160 | # Attempt to connect to the database as a privileged user |
161 | 161 | # This will vomit up an error if there are permissions problems |
162 | | -$wdDatabase = new $dbclass( $server, $user, $password, $database, 1 ); |
| 162 | +$wdDatabase = new $dbclass( $server, $user, $password, $database ); |
163 | 163 | |
164 | 164 | if ( !$wdDatabase->isOpen() ) { |
165 | 165 | # Appears to have failed |
Index: trunk/extensions/Wikidata/Database scripts/Convenience/Create wikidata.php |
— | — | @@ -220,7 +220,7 @@ |
221 | 221 | } |
222 | 222 | # Attempt to connect to the database as a privileged user |
223 | 223 | # This will vomit up an error if there are permissions problems |
224 | | -$wdDatabase = new $dbclass( $server, $user, $password, $database, 1 ); |
| 224 | +$wdDatabase = new $dbclass( $server, $user, $password, $database ); |
225 | 225 | |
226 | 226 | if ( !$wdDatabase->isOpen() ) { |
227 | 227 | # Appears to have failed |