dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d85b2c
)
Just return if running on PostgreSQL, as this change predates PG support.
author
Brion Vibber
<brion@users.mediawiki.org>
Tue, 7 Sep 2004 02:29:04 +0000
(
02:29
+0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Tue, 7 Sep 2004 02:29:04 +0000
(
02:29
+0000)
maintenance/convertLinks.inc
patch
|
blob
|
history
diff --git
a/maintenance/convertLinks.inc
b/maintenance/convertLinks.inc
index
0d75c81
..
0a78495
100644
(file)
--- 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;