From 5bd8b35624de0b040cc42e7d52f61f7089a6f2bd Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 7 Sep 2004 02:29:04 +0000 Subject: [PATCH] Just return if running on PostgreSQL, as this change predates PG support. --- maintenance/convertLinks.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintenance/convertLinks.inc b/maintenance/convertLinks.inc index 0d75c81384..0a784957d0 100644 --- a/maintenance/convertLinks.inc +++ b/maintenance/convertLinks.inc @@ -7,6 +7,12 @@ /** */ function convertLinks() { + global $wgDBtype; + if( $wgDBtype == 'PostgreSQL' ) { + print "Links table already ok on PostgreSQL.\n"; + return; + } + print "Converting links table to ID-ID...\n"; global $wgLang, $wgDBserver, $wgDBadminuser, $wgDBadminpassword, $wgDBname; -- 2.20.1