From: Chad Horohoe Date: Wed, 18 Feb 2009 02:54:58 +0000 (+0000) Subject: Use accessor hasSharedCache() rather than calling the param directly. X-Git-Tag: 1.31.0-rc.0~42820 X-Git-Url: http://git.cyclocoop.org/%22%40url%40/%24self?a=commitdiff_plain;h=22eafa5a744c7d6da66192bd47a3352f0b7aacad;p=lhc%2Fweb%2Fwiklou.git Use accessor hasSharedCache() rather than calling the param directly. --- diff --git a/includes/filerepo/ForeignDBFile.php b/includes/filerepo/ForeignDBFile.php index 5fb432c8bb..8fe6f92124 100644 --- a/includes/filerepo/ForeignDBFile.php +++ b/includes/filerepo/ForeignDBFile.php @@ -20,7 +20,7 @@ class ForeignDBFile extends LocalFile { } function getCacheKey() { - if ( $this->repo->hasSharedCache ) { + if ( $this->repo->hasSharedCache() ) { $hashedName = md5($this->name); return wfForeignMemcKey( $this->repo->dbName, $this->repo->tablePrefix, 'file', $hashedName );