Merge "Remove perf tracking code that was moved to WikimediaEvents in Ib300af5c"
[lhc/web/wiklou.git] / maintenance / updateSpecialPages.php
index cc9f763..e2c0c61 100644 (file)
@@ -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 {