r106478 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106477‎ | r106478 | r106479 >
Date:21:05, 16 December 2011
Author:ialex
Status:ok
Tags:
Comment:
Removed PHP4-ism and put the whole thing in one line so that I'm able to see directly what is called on LinkCache::singleton() from grep
Modified paths:
  • /trunk/extensions/DumpHTML/dumpHTML.inc (modified) (history)

Diff [purge]

Index: trunk/extensions/DumpHTML/dumpHTML.inc
@@ -785,8 +785,7 @@
786786 if ( is_null( $title ) ) {
787787 return false;
788788 }
789 - $linkCache =& LinkCache::singleton();
790 - $linkCache->clear();
 789+ LinkCache::singleton()->clear();
791790
792791 $context = new RequestContext();
793792 $context->setRequest( new DumpFauxRequest( $title->getLocalUrl(),

Status & tagging log