r40319 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r40318‎ | r40319 | r40320 >
Date:21:58, 1 September 2008
Author:skizzerz
Status:old
Tags:
Comment:
* fixing error causing a PHP E_NOTICE.
Modified paths:
  • /trunk/phase3/includes/filerepo/ForeignAPIFile.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/filerepo/ForeignAPIFile.php
@@ -148,7 +148,7 @@
149149 function purgeDescriptionPage() {
150150 global $wgMemc;
151151 $url = $this->repo->getDescriptionRenderUrl( $this->getName() );
152 - $key = wfMemcKey( 'RemoteFileDescription', 'url', md5($renderUrl) );
 152+ $key = wfMemcKey( 'RemoteFileDescription', 'url', md5($url) );
153153 $wgMemc->delete( $key );
154154 }
155155