Merge r86398 into the old wfWaitForSlaves. Update core calls.
[lhc/web/wiklou.git] / maintenance / deleteDefaultMessages.php
index fc482ac..e518509 100644 (file)
@@ -64,7 +64,7 @@ class DeleteDefaultMessages extends Maintenance {
 
                foreach ( $res as $row ) {
                        if ( function_exists( 'wfWaitForSlaves' ) ) {
-                               wfWaitForSlaves( 5 );
+                               wfWaitForSlaves();
                        }
                        $dbw->ping();
                        $title = Title::makeTitle( $row->page_namespace, $row->page_title );