From 10321ff1b20cb21921754e781b61f6340053e60b Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 19 Mar 2019 09:28:40 -0700 Subject: [PATCH] storage: Fix typo in NameTableStore::purgeWANCache comments Change-Id: Icdea7422cdb110877bb8991896e6ab8a83b02858 --- includes/Storage/NameTableStore.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Storage/NameTableStore.php b/includes/Storage/NameTableStore.php index 27194ab219..3016e992e7 100644 --- a/includes/Storage/NameTableStore.php +++ b/includes/Storage/NameTableStore.php @@ -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; -- 2.20.1