Index: trunk/phase3/includes/db/DatabaseOracle.php |
— | — | @@ -226,11 +226,6 @@ |
227 | 227 | return true; |
228 | 228 | } |
229 | 229 | |
230 | | - static function newFromParams( $server, $user, $password, $dbName, $flags = 0 ) |
231 | | - { |
232 | | - return new DatabaseOracle( $server, $user, $password, $dbName, $flags ); |
233 | | - } |
234 | | - |
235 | 230 | /** |
236 | 231 | * Usually aborts on failure |
237 | 232 | */ |
Index: trunk/phase3/includes/db/DatabasePostgres.php |
— | — | @@ -144,10 +144,6 @@ |
145 | 145 | return $this->numRows( $res ); |
146 | 146 | } |
147 | 147 | |
148 | | - static function newFromParams( $server, $user, $password, $dbName, $flags = 0 ) { |
149 | | - return new DatabasePostgres( $server, $user, $password, $dbName, $flags ); |
150 | | - } |
151 | | - |
152 | 148 | /** |
153 | 149 | * Usually aborts on failure |
154 | 150 | */ |
Index: trunk/phase3/includes/db/DatabaseIbm_db2.php |
— | — | @@ -429,23 +429,6 @@ |
430 | 430 | } |
431 | 431 | |
432 | 432 | /** |
433 | | - * Returns a fresh instance of this class |
434 | | - * |
435 | | - * @param $server String: hostname of database server |
436 | | - * @param $user String: username |
437 | | - * @param $password String |
438 | | - * @param $dbName String: database name on the server |
439 | | - * @param $flags Integer: database behaviour flags (optional, unused) |
440 | | - * @return DatabaseIbm_db2 object |
441 | | - */ |
442 | | - static function newFromParams( $server, $user, $password, $dbName, |
443 | | - $flags = 0 ) |
444 | | - { |
445 | | - return new DatabaseIbm_db2( $server, $user, $password, $dbName, |
446 | | - $flags ); |
447 | | - } |
448 | | - |
449 | | - /** |
450 | 433 | * Retrieves the most current database error |
451 | 434 | * Forces a database rollback |
452 | 435 | */ |
Index: trunk/phase3/includes/db/DatabaseMssql.php |
— | — | @@ -49,10 +49,6 @@ |
50 | 50 | return false; |
51 | 51 | } |
52 | 52 | |
53 | | - static function newFromParams( $server, $user, $password, $dbName, $flags = 0 ) { |
54 | | - return new DatabaseMssql( $server, $user, $password, $dbName, $flags ); |
55 | | - } |
56 | | - |
57 | 53 | /** |
58 | 54 | * Usually aborts on failure |
59 | 55 | */ |
Index: trunk/phase3/includes/db/DatabaseSqlite.php |
— | — | @@ -42,10 +42,6 @@ |
43 | 43 | */ |
44 | 44 | function implicitGroupby() { return false; } |
45 | 45 | |
46 | | - static function newFromParams( $server, $user, $password, $dbName, $flags = 0 ) { |
47 | | - return new DatabaseSqlite( $server, $user, $password, $dbName, $flags ); |
48 | | - } |
49 | | - |
50 | 46 | /** Open an SQLite database and return a resource handle to it |
51 | 47 | * NOTE: only $dbName is used, the other parameters are irrelevant for SQLite databases |
52 | 48 | */ |