dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83aeb08
)
Get rid of php4ism
author
Chad Horohoe
<demon@users.mediawiki.org>
Sun, 19 Sep 2010 17:42:15 +0000
(17:42 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Sun, 19 Sep 2010 17:42:15 +0000
(17:42 +0000)
maintenance/refreshLinks.php
patch
|
blob
|
history
diff --git
a/maintenance/refreshLinks.php
b/maintenance/refreshLinks.php
index
0083bb6
..
96e87a2
100644
(file)
--- 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;