summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2022-09-27 18:53:03 -0400
committerBrian Evans <grknight@gentoo.org>2022-09-27 19:02:02 -0400
commit5ca8d30155e11d97b20f79acec40632c2e06fcd5 (patch)
tree7531fb116791f8328c0bb0cabe42265ca67e6df9 /MLEB/Translate/scripts/migrate-schema2.php
parentMerge branch 'master' into wikitest (diff)
downloadextensions-5ca8d30155e11d97b20f79acec40632c2e06fcd5.tar.gz
extensions-5ca8d30155e11d97b20f79acec40632c2e06fcd5.tar.bz2
extensions-5ca8d30155e11d97b20f79acec40632c2e06fcd5.zip
Update MLEB to 2021.12v1.35.2
This is the final version for MW 1.35 Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'MLEB/Translate/scripts/migrate-schema2.php')
-rw-r--r--MLEB/Translate/scripts/migrate-schema2.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/MLEB/Translate/scripts/migrate-schema2.php b/MLEB/Translate/scripts/migrate-schema2.php
index 082914d9..1b0ccf45 100644
--- a/MLEB/Translate/scripts/migrate-schema2.php
+++ b/MLEB/Translate/scripts/migrate-schema2.php
@@ -31,7 +31,7 @@ class TSchema2 extends Maintenance {
}
public function execute() {
- $dbw = wfGetDB( DB_MASTER );
+ $dbw = wfGetDB( DB_PRIMARY );
if ( !$dbw->tableExists( 'revtag', __METHOD__ ) ) {
$this->fatalError( "Table revtag doesn't exist. Translate extension is not installed?" );
}