From 22eafa5a744c7d6da66192bd47a3352f0b7aacad Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Wed, 18 Feb 2009 02:54:58 +0000 Subject: [PATCH] Use accessor hasSharedCache() rather than calling the param directly. --- includes/filerepo/ForeignDBFile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.20.1