r107194 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r107193‎ | r107194 | r107195 >
Date:00:19, 24 December 2011
Author:aaron
Status:ok
Tags:
Comment:
FU r106752: fixed call to bogus function in LocalFile::getSha1()
Modified paths:
  • /trunk/phase3/includes/filerepo/file/LocalFile.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/filerepo/file/LocalFile.php
@@ -1371,7 +1371,7 @@
13721372 // Initialise now if necessary
13731373 if ( $this->sha1 == '' && $this->fileExists ) {
13741374 $tmpPath = $this->getLocalRefPath();
1375 - $this->sha1 = FSFile::sha1Base36( $tmpPath );
 1375+ $this->sha1 = FSFile::getSha1Base36FromPath( $tmpPath );
13761376 if ( !wfReadOnly() && strval( $this->sha1 ) != '' ) {
13771377 $dbw = $this->repo->getMasterDB();
13781378 $dbw->update( 'image',

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r106752Merged FileBackend branch. Manually avoiding merging the many prop-only chang...aaron03:52, 20 December 2011

Status & tagging log