From 88786f760ff2647e21713e569eb8f1448351c39b Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 13 Oct 2008 02:38:31 +0000 Subject: [PATCH] Cleanup for r41952: > is usually easier to understand than !<= :) --- includes/parser/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index c1c18a89dc..0021e98416 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -4305,7 +4305,7 @@ class Parser $file = $this->mFileCache[$imagename][$time]; } else { $file = wfFindFile( $title, $time ); - if ( !(count( $this->mFileCache ) <= 1000) ) { + if ( count( $this->mFileCache ) > 1000 ) { $this->mFileCache = array(); } $this->mFileCache[$imagename][$time] = $file; -- 2.20.1