r107304 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r107303‎ | r107304 | r107305 >
Date:23:17, 25 December 2011
Author:aaron
Status:ok
Tags:
Comment:
Fixed undefined var from r106280
Modified paths:
  • /trunk/phase3/includes/filerepo/backend/FileBackendMultiWrite.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/filerepo/backend/FileBackendMultiWrite.php
@@ -205,7 +205,7 @@
206206 */
207207 function getFileTimestamp( array $params ) {
208208 // Skip non-master for consistent timestamps
209 - $realParams = $this->substOpPaths( $params, $backend );
 209+ $realParams = $this->substOpPaths( $params, $this->backends[$this->masterIndex] );
210210 return $this->backends[$this->masterIndex]->getFileTimestamp( $realParams );
211211 }
212212

Sign-offs

UserFlagDate
😂inspected16:31, 26 December 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r106280* Made FileBackendMultiWrite substitute the backend name portion of storage p...aaron23:23, 14 December 2011

Status & tagging log