storage: Fix typo in NameTableStore::purgeWANCache comments
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 19 Mar 2019 16:28:40 +0000 (09:28 -0700)
committerKrinkle <krinklemail@gmail.com>
Wed, 20 Mar 2019 02:02:06 +0000 (02:02 +0000)
Change-Id: Icdea7422cdb110877bb8991896e6ab8a83b02858

includes/Storage/NameTableStore.php

index 27194ab..3016e99 100644 (file)
@@ -345,10 +345,10 @@ class NameTableStore {
        /**
         * Reap the WANCache entry for this table.
         *
-        * @param callable $purgeCallback callback to 'purge' the WAN cache
+        * @param callable $purgeCallback Callback to 'purge' the WAN cache
         */
        private function purgeWANCache( $purgeCallback ) {
-               // If the LB has no DB changes don't both with onTransactionPreCommitOrIdle
+               // If the LB has no DB changes don't bother with onTransactionPreCommitOrIdle
                if ( !$this->loadBalancer->hasOrMadeRecentMasterChanges() ) {
                        $purgeCallback();
                        return;