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
Replace wfBaseConvert with Wikimedia\base_convert
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryImageInfo.php
diff --git
a/includes/api/ApiQueryImageInfo.php
b/includes/api/ApiQueryImageInfo.php
index
0a8e2c9
..
8dbd812
100644
(file)
--- a/
includes/api/ApiQueryImageInfo.php
+++ b/
includes/api/ApiQueryImageInfo.php
@@
-518,7
+518,7
@@
class ApiQueryImageInfo extends ApiQueryBase {
}
if ( $sha1 ) {
- $vals['sha1'] =
wfBaseC
onvert( $file->getSha1(), 36, 16, 40 );
+ $vals['sha1'] =
Wikimedia\base_c
onvert( $file->getSha1(), 36, 16, 40 );
}
if ( $meta ) {