From: Domas Mituzas Date: Sat, 21 Jan 2006 16:50:22 +0000 (+0000) Subject: don't look at this diff, it is too lame ;) X-Git-Tag: 1.6.0~462 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=03655d45d8110e674ac19a8106ec2d4c2fee2bcd;p=lhc%2Fweb%2Fwiklou.git don't look at this diff, it is too lame ;) --- diff --git a/includes/Title.php b/includes/Title.php index 6be2775191..1dca82ee75 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -395,7 +395,7 @@ class Title { if ($wgInterwikiCache) { wfProfileOut( $fname ); - return $this->getInterwikiCached( $key ); + return Title::getInterwikiCached( $key ); } $s = $wgMemc->get( $k ); @@ -442,7 +442,7 @@ class Title { global $wgDBname, $wgInterwikiCache, $wgInterwikiScopes, $wgInterwikiFallbackSite; global $wgTitleInterwikiCache; static $db, $site; - if (!db) + if (!$db) $db=dba_open($wgInterwikiCache,'r','cdb'); /* Resolve site name */ if ($wgInterwikiScopes>=3 and !$site) {