Index: trunk/phase3/includes/LinkCache.php |
— | — | @@ -100,12 +100,13 @@ |
101 | 101 | |
102 | 102 | function addLinkObj( &$nt ) |
103 | 103 | { |
| 104 | + global $wgMemc, $wgLinkCacheMemcached; |
| 105 | + |
104 | 106 | $title = $nt->getPrefixedDBkey(); |
105 | 107 | if ( $this->isBadLink( $title ) ) { return 0; } |
106 | 108 | $id = $this->getGoodLinkID( $title ); |
107 | 109 | if ( 0 != $id ) { return $id; } |
108 | 110 | |
109 | | - global $wgMemc; |
110 | 111 | $fname = "LinkCache::addLinkObj"; |
111 | 112 | wfProfileIn( $fname ); |
112 | 113 | |