dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Measure string length once in Parser::replaceVariables
[lhc/web/wiklou.git]
/
includes
/
filebackend
/
FileOp.php
diff --git
a/includes/filebackend/FileOp.php
b/includes/filebackend/FileOp.php
index
66d8794
..
5d4e8e1
100644
(file)
--- a/
includes/filebackend/FileOp.php
+++ b/
includes/filebackend/FileOp.php
@@
-577,9
+577,9
@@
class StoreFileOp extends FileOp {
}
protected function getSourceSha1Base36() {
}
protected function getSourceSha1Base36() {
-
wfS
uppressWarnings();
+
MediaWiki\s
uppressWarnings();
$hash = sha1_file( $this->params['src'] );
$hash = sha1_file( $this->params['src'] );
-
wfR
estoreWarnings();
+
MediaWiki\r
estoreWarnings();
if ( $hash !== false ) {
$hash = wfBaseConvert( $hash, 16, 36, 31 );
}
if ( $hash !== false ) {
$hash = wfBaseConvert( $hash, 16, 36, 31 );
}