Index: trunk/phase3/install-utils.inc |
— | — | @@ -15,20 +15,6 @@ |
16 | 16 | die( -1 ); |
17 | 17 | } |
18 | 18 | |
19 | | - $gotdatabase = 0; |
20 | | - ## XXX We should quiet the warnings thrown here |
21 | | - if (extension_loaded('mysql') or dl('mysql.so')) { |
22 | | - $gotdatabase = 'mysql'; |
23 | | - } |
24 | | - else if (extension_loaded('pgsql') or dl('pgsql.so')) { |
25 | | - $gotdatabase = 'pg'; |
26 | | - } |
27 | | - if (!$gotdatabase) { |
28 | | - print "Could not load the MySQL or the PostgreSQL driver! Please compile ". |
29 | | - "php with either --with-mysql or --with-pgsql, or install the mysql.so or pg.so module.\n"; |
30 | | - exit; |
31 | | - } |
32 | | - |
33 | 19 | global $wgCommandLineMode; |
34 | 20 | $wgCommandLineMode = true; |
35 | 21 | umask( 000 ); |