From 804e18faf4dc002246a7fc64b8c3a78dbe1f4996 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Sun, 19 Sep 2010 17:42:15 +0000 Subject: [PATCH] Get rid of php4ism --- maintenance/refreshLinks.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; -- 2.20.1