Use accessor hasSharedCache() rather than calling the param directly.
authorChad Horohoe <demon@users.mediawiki.org>
Wed, 18 Feb 2009 02:54:58 +0000 (02:54 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Wed, 18 Feb 2009 02:54:58 +0000 (02:54 +0000)
includes/filerepo/ForeignDBFile.php

index 5fb432c..8fe6f92 100644 (file)
@@ -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 );