summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'MLEB/Babel/includes/Database.php')
-rw-r--r--MLEB/Babel/includes/Database.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/MLEB/Babel/includes/Database.php b/MLEB/Babel/includes/Database.php
index 8dbb67f2..5f3a94c4 100644
--- a/MLEB/Babel/includes/Database.php
+++ b/MLEB/Babel/includes/Database.php
@@ -98,7 +98,7 @@ class Database {
* @return bool true if changes to the db were made
*/
public function setForUser( $id, array $data ) {
- $dbw = $this->getDB( DB_MASTER );
+ $dbw = $this->getDB( DB_PRIMARY );
$newRows = [];
foreach ( $data as $lang => $level ) {