* Add the new messages from r32198 to messages.inc
[lhc/web/wiklou.git] / maintenance / refreshLinks.inc
index c471d0e..70e2a5d 100644 (file)
@@ -142,7 +142,7 @@ function deleteLinksFromNonexistent( $maxLag = 0 ) {
 
        wfWaitForSlaves( $maxLag );
 
-       $dbw = wfGetDB( DB_WRITE );
+       $dbw = wfGetDB( DB_MASTER );
 
        $linksTables = array(
                'pagelinks' => 'pl_from',