Just return if running on PostgreSQL, as this change predates PG support.
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 7 Sep 2004 02:29:04 +0000 (02:29 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 7 Sep 2004 02:29:04 +0000 (02:29 +0000)
maintenance/convertLinks.inc

index 0d75c81..0a78495 100644 (file)
@@ -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;