From: Brion Vibber Date: Mon, 13 Oct 2008 02:38:31 +0000 (+0000) Subject: Cleanup for r41952: > is usually easier to understand than !<= :) X-Git-Tag: 1.31.0-rc.0~44770 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/%7B%7B%20url_for%28%27vote%27%2C%20idvote=vote.voteid%29%20%7D%7D?a=commitdiff_plain;h=88786f760ff2647e21713e569eb8f1448351c39b;p=lhc%2Fweb%2Fwiklou.git Cleanup for r41952: > is usually easier to understand than !<= :) --- 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;