Remove unused fields in SpecialUnusedimages query
authorTimo Tijhof <krinklemail@gmail.com>
Thu, 19 Jan 2017 02:48:38 +0000 (02:48 +0000)
committerTimo 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

index 2cc1a7b..9fcbf15 100644 (file)
@@ -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' ] ]