r42162 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r42161‎ | r42162 | r42163 >
Date:01:45, 17 October 2008
Author:aaron
Status:old
Tags:
Comment:
Use strong comparison
Modified paths:
  • /trunk/extensions/CodeReview/CodeRepository.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/CodeRepository.php
@@ -173,7 +173,7 @@
174174 $data = $wgMemc->get( $key );
175175 }
176176
177 - if( !$data && $useCache != 'cached' ) {
 177+ if( !$data && $useCache !== 'cached' ) {
178178 $svn = SubversionAdaptor::newFromRepo( $this->mPath );
179179 $data = $svn->getDiff( '', $rev1, $rev2 );
180180 $wgMemc->set( $key, $data, 3600*24*3 );

Status & tagging log