X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=maintenance%2FupdateSpecialPages.php;h=e2c0c61592b074b1251e007e100c26bf1fa991a2;hp=cc9f763bc8d355101ca5ecc25ba3fff4af7ad00a;hb=31495b9e60e01438f5906cb24d484599e4930e66;hpb=45ba701204a4bad00dd36bdc2e2570483e0d92a3 diff --git a/maintenance/updateSpecialPages.php b/maintenance/updateSpecialPages.php index cc9f763bc8..e2c0c61592 100644 --- a/maintenance/updateSpecialPages.php +++ b/maintenance/updateSpecialPages.php @@ -101,7 +101,7 @@ class UpdateSpecialPages extends Maintenance { $this->output( sprintf( "%.2fs\n", $seconds ) ); } # Reopen any connections that have closed - $this->reopenAndWaitFotReplicas(); + $this->reopenAndWaitForReplicas(); } else { $this->output( "cheap, skipped\n" ); } @@ -118,7 +118,7 @@ class UpdateSpecialPages extends Maintenance { * Queries that take a really long time, might cause the * mysql connection to "go away" */ - private function reopenAndWaiFotReplicas() { + private function reopenAndWaitForReplicas() { if ( !wfGetLB()->pingAll() ) { $this->output( "\n" ); do {