From: Aaron Schulz Date: Tue, 19 Mar 2019 16:28:40 +0000 (-0700) Subject: storage: Fix typo in NameTableStore::purgeWANCache comments X-Git-Tag: 1.34.0-rc.0~2460^2 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=10321ff1b20cb21921754e781b61f6340053e60b;p=lhc%2Fweb%2Fwiklou.git storage: Fix typo in NameTableStore::purgeWANCache comments Change-Id: Icdea7422cdb110877bb8991896e6ab8a83b02858 --- 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;