From: Chad Horohoe Date: Sun, 19 Sep 2010 17:42:15 +0000 (+0000) Subject: Get rid of php4ism X-Git-Tag: 1.31.0-rc.0~34871 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=804e18faf4dc002246a7fc64b8c3a78dbe1f4996;p=lhc%2Fweb%2Fwiklou.git Get rid of php4ism --- diff --git a/maintenance/refreshLinks.php b/maintenance/refreshLinks.php index 0083bb674b..96e87a2943 100644 --- a/maintenance/refreshLinks.php +++ b/maintenance/refreshLinks.php @@ -196,8 +196,7 @@ class RefreshLinks extends Maintenance { $wgTitle = Title::newFromID( $id ); $dbw = wfGetDB( DB_MASTER ); - $linkCache =& LinkCache::singleton(); - $linkCache->clear(); + LinkCache::singleton()->clear(); if ( is_null( $wgTitle ) ) { return;