dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a9d20c
)
Replace deprecated File::sha1Base36 call
author
umherirrender
<umherirrender_de.wp@web.de>
Mon, 23 Jun 2014 19:02:09 +0000
(21:02 +0200)
committer
umherirrender
<umherirrender_de.wp@web.de>
Mon, 23 Jun 2014 19:02:09 +0000
(21:02 +0200)
Change-Id: I0a2485f1a9426183e1b1c5a5b6e95966f23da237
maintenance/importImages.php
patch
|
blob
|
history
diff --git
a/maintenance/importImages.php
b/maintenance/importImages.php
index
3dd4a9e
..
ae70441
100644
(file)
--- a/
maintenance/importImages.php
+++ b/
maintenance/importImages.php
@@
-177,7
+177,7
@@
if ( $count > 0 ) {
if ( isset( $options['skip-dupes'] ) ) {
$repo = $image->getRepo();
# XXX: we end up calculating this again when actually uploading. that sucks.
- $sha1 = F
ile::sha1Base36
( $file );
+ $sha1 = F
SFile::getSha1Base36FromPath
( $file );
$dupes = $repo->findBySha1( $sha1 );