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
Merge "Actually make $wgNoReplyAddress default to $wgPasswordSender"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialListDuplicatedFiles.php
diff --git
a/includes/specials/SpecialListDuplicatedFiles.php
b/includes/specials/SpecialListDuplicatedFiles.php
index
3f47f91
..
ed7e954
100644
(file)
--- a/
includes/specials/SpecialListDuplicatedFiles.php
+++ b/
includes/specials/SpecialListDuplicatedFiles.php
@@
-54,18
+54,18
@@
class ListDuplicatedFilesPage extends QueryPage {
* @return array
*/
public function getQueryInfo() {
* @return array
*/
public function getQueryInfo() {
- return
array(
- 'tables' =>
array( 'image' )
,
- 'fields' =>
array(
+ return
[
+ 'tables' =>
[ 'image' ]
,
+ 'fields' =>
[
'namespace' => NS_FILE,
'title' => 'MIN(img_name)',
'value' => 'count(*)'
'namespace' => NS_FILE,
'title' => 'MIN(img_name)',
'value' => 'count(*)'
-
)
,
- 'options' =>
array(
+
]
,
+ 'options' =>
[
'GROUP BY' => 'img_sha1',
'HAVING' => 'count(*) > 1',
'GROUP BY' => 'img_sha1',
'HAVING' => 'count(*) > 1',
-
)
,
-
)
;
+
]
,
+
]
;
}
/**
}
/**