From 0463749a26931badb7bdbf8fd85645acc98def9e Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Tue, 27 Dec 2011 22:38:44 +0000 Subject: [PATCH] Comment and whitespace fixes --- includes/cache/FileCacheBase.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/cache/FileCacheBase.php b/includes/cache/FileCacheBase.php index b1047242f5..d3558184b8 100644 --- a/includes/cache/FileCacheBase.php +++ b/includes/cache/FileCacheBase.php @@ -33,7 +33,7 @@ abstract class FileCacheBase { } /** - * Get the base cache directory (not speficic to this file) + * Get the base cache directory (not specific to this file) * @return string */ abstract protected function cacheDirectory(); @@ -98,7 +98,7 @@ abstract class FileCacheBase { $cachetime = $this->cacheTimestamp(); $good = ( $timestamp <= $cachetime && $wgCacheEpoch <= $cachetime ); - wfDebug( __METHOD__ . ": cachetime $cachetime, touched '{$timestamp}' epoch {$wgCacheEpoch}, good $good\n"); + wfDebug( __METHOD__ . ": cachetime $cachetime, touched '{$timestamp}' epoch {$wgCacheEpoch}, good $good\n" ); return $good; } @@ -203,8 +203,8 @@ abstract class FileCacheBase { public function incrMissesRecent( WebRequest $request ) { global $wgMemc; if ( mt_rand( 0, self::MISS_FACTOR - 1 ) == 0 ) { - # Get an large IP range that should include the user - # even if that person's IP address changes... + # Get a large IP range that should include the user even if that + # person's IP address changes $ip = $request->getIP(); if ( !IP::isValid( $ip ) ) { return; -- 2.20.1