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:
3f69747
)
Remove unused fields in SpecialUnusedimages query
author
Timo Tijhof
<krinklemail@gmail.com>
Thu, 19 Jan 2017 02:48:38 +0000
(
02:48
+0000)
committer
Timo Tijhof
<krinklemail@gmail.com>
Thu, 19 Jan 2017 02:55:59 +0000
(
02:55
+0000)
None of img_user, img_user_text, or img_description are used
by UnusedimagesPage nor ImageQueryPage.
Change-Id: Id0fdac9ac37eef097e8ca9f7bf3d66ef10bb83c2
includes/specials/SpecialUnusedimages.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialUnusedimages.php
b/includes/specials/SpecialUnusedimages.php
index
2cc1a7b
..
9fcbf15
100644
(file)
--- a/
includes/specials/SpecialUnusedimages.php
+++ b/
includes/specials/SpecialUnusedimages.php
@@
-50,8
+50,6
@@
class UnusedimagesPage extends ImageQueryPage {
'namespace' => NS_FILE,
'title' => 'img_name',
'value' => 'img_timestamp',
- 'img_user', 'img_user_text',
- 'img_description'
],
'conds' => [ 'il_to IS NULL' ],
'join_conds' => [ 'imagelinks' => [ 'LEFT JOIN', 'il_to = img_name' ] ]