r47412 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r47411‎ | r47412 | r47413 >
Date:02:54, 18 February 2009
Author:demon
Status:deferred
Tags:
Comment:
Use accessor hasSharedCache() rather than calling the param directly.
Modified paths:
  • /trunk/phase3/includes/filerepo/ForeignDBFile.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/filerepo/ForeignDBFile.php
@@ -20,7 +20,7 @@
2121 }
2222
2323 function getCacheKey() {
24 - if ( $this->repo->hasSharedCache ) {
 24+ if ( $this->repo->hasSharedCache() ) {
2525 $hashedName = md5($this->name);
2626 return wfForeignMemcKey( $this->repo->dbName, $this->repo->tablePrefix,
2727 'file', $hashedName );

Status & tagging log