From: Tim Starling Date: Tue, 27 Dec 2011 22:38:44 +0000 (+0000) Subject: Comment and whitespace fixes X-Git-Tag: 1.31.0-rc.0~25706 X-Git-Url: https://git.cyclocoop.org//%22?a=commitdiff_plain;h=0463749a26931badb7bdbf8fd85645acc98def9e;p=lhc%2Fweb%2Fwiklou.git Comment and whitespace fixes --- 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;