r73337 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73336‎ | r73337 | r73338 >
Date:17:42, 19 September 2010
Author:demon
Status:ok
Tags:
Comment:
Get rid of php4ism
Modified paths:
  • /trunk/phase3/maintenance/refreshLinks.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/refreshLinks.php
@@ -196,8 +196,7 @@
197197 $wgTitle = Title::newFromID( $id );
198198 $dbw = wfGetDB( DB_MASTER );
199199
200 - $linkCache =& LinkCache::singleton();
201 - $linkCache->clear();
 200+ LinkCache::singleton()->clear();
202201
203202 if ( is_null( $wgTitle ) ) {
204203 return;

Status & tagging log