r2092 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r2091‎ | r2092 | r2093 >
Date:08:31, 28 November 2003
Author:e23
Status:old
Tags:
Comment:
Added missing global for $wgLinkCacheMemcached
Modified paths:
  • /trunk/phase3/includes/LinkCache.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/LinkCache.php
@@ -100,12 +100,13 @@
101101
102102 function addLinkObj( &$nt )
103103 {
 104+ global $wgMemc, $wgLinkCacheMemcached;
 105+
104106 $title = $nt->getPrefixedDBkey();
105107 if ( $this->isBadLink( $title ) ) { return 0; }
106108 $id = $this->getGoodLinkID( $title );
107109 if ( 0 != $id ) { return $id; }
108110
109 - global $wgMemc;
110111 $fname = "LinkCache::addLinkObj";
111112 wfProfileIn( $fname );
112113

Status & tagging log