From f6e55e854285a614c5ca772c7a4fdd59cf71fdb1 Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Sun, 16 Jul 2006 12:29:32 +0000 Subject: [PATCH] Abstract database setup into its own method, remove unused oracle table calls. --- config/index.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/config/index.php b/config/index.php index 7e9315f359..6626b61d8d 100644 --- a/config/index.php +++ b/config/index.php @@ -781,11 +781,7 @@ error_reporting( E_ALL ); } dbsource( "../maintenance/interwiki.sql", $wgDatabase ); } else if ($conf->DBtype == 'postgres') { - dbsource( "../maintenance/postgres/tables.sql", $wgDatabase ); - $wgDatabase->update_interwiki(); - } else if ($conf->DBtype == 'oracle') { - dbsource( "../maintenance/oracle/tables.sql", $wgDatabase ); - dbsource( "../maintenance/oracle/interwiki.sql", $wgDatabase ); + $wgDatabase->setup_database(); } else { $errs["DBtype"] = "Do not know how to handle database type '$conf->DBtype'"; -- 2.20.1