From: Aaron Schulz Date: Sat, 24 Dec 2011 00:19:01 +0000 (+0000) Subject: FU r106752: fixed call to bogus function in LocalFile::getSha1() X-Git-Tag: 1.31.0-rc.0~25779 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/%7B%7B%20url_for%28%27vote%27%2C%20idvote=vote.voteid%29%20%7D%7D?a=commitdiff_plain;h=b9efeb2cbc9e6558e2a49a8efb47a7b91526de4d;p=lhc%2Fweb%2Fwiklou.git FU r106752: fixed call to bogus function in LocalFile::getSha1() --- diff --git a/includes/filerepo/file/LocalFile.php b/includes/filerepo/file/LocalFile.php index 3a223ae8ea..d0d5659d6d 100644 --- a/includes/filerepo/file/LocalFile.php +++ b/includes/filerepo/file/LocalFile.php @@ -1371,7 +1371,7 @@ class LocalFile extends File { // Initialise now if necessary if ( $this->sha1 == '' && $this->fileExists ) { $tmpPath = $this->getLocalRefPath(); - $this->sha1 = FSFile::sha1Base36( $tmpPath ); + $this->sha1 = FSFile::getSha1Base36FromPath( $tmpPath ); if ( !wfReadOnly() && strval( $this->sha1 ) != '' ) { $dbw = $this->repo->getMasterDB(); $dbw->update( 'image',