aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Lécureuil <neoclust@mageia.org>2017-04-06 16:19:20 +0200
committerNicolas Lécureuil <neoclust@mageia.org>2017-04-06 16:19:20 +0200
commit73e35a0836db5b81a05b2762babaa14f9e85e0f2 (patch)
tree3c324a6141a43fecc72040a9883c4fa2aa0efb71
parent6368fb4196a94bc54e8a98398c9ae76964ec8b4c (diff)
downloadpuppet-73e35a0836db5b81a05b2762babaa14f9e85e0f2.tar
puppet-73e35a0836db5b81a05b2762babaa14f9e85e0f2.tar.gz
puppet-73e35a0836db5b81a05b2762babaa14f9e85e0f2.tar.bz2
puppet-73e35a0836db5b81a05b2762babaa14f9e85e0f2.tar.xz
puppet-73e35a0836db5b81a05b2762babaa14f9e85e0f2.zip
Adapt to new mediawiki
-rw-r--r--modules/mediawiki/files/init_wiki.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mediawiki/files/init_wiki.php b/modules/mediawiki/files/init_wiki.php
index 5bc001e9..da1d46f5 100644
--- a/modules/mediawiki/files/init_wiki.php
+++ b/modules/mediawiki/files/init_wiki.php
@@ -15,7 +15,7 @@ require_once("$mw_root/includes/GlobalFunctions.php");
include("$wiki_root/LocalSettings.php");
$dbclass = 'Database'.ucfirst($wgDBtype);
-$dbc = new $dbclass($wgDBserver,
+$wgDatabase = new $dbclass($wgDBserver,
$wgDBuser,
$wgDBpassword, $wgDBname, 1);