SpecialMediaStatistics: Remove WMF-specific hack, no longer needed
authorBartosz Dziewoński <matma.rex@gmail.com>
Wed, 26 Apr 2017 15:39:01 +0000 (17:39 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Wed, 26 Apr 2017 15:39:01 +0000 (17:39 +0200)
We deleted the broken row from the databases per T155769.
This reverts 6e02a95227c4ef194ff2299a823aaa51aa9a223c.

Bug: T74535
Bug: T155769
Change-Id: Iac0873eb7112502dd7fc6b34ca956d9a2dffcb44

includes/specials/SpecialMediaStatistics.php

index 7c4b490..5192eb9 100644 (file)
@@ -84,10 +84,6 @@ class MediaStatisticsPage extends QueryPage {
                                'namespace' => NS_MEDIA, /* needs to be something */
                                'value' => '1'
                        ],
-                       'conds' => [
-                               // WMF has a random null row in the db
-                               'img_media_type IS NOT NULL'
-                       ],
                        'options' => [
                                'GROUP BY' => [
                                        'img_media_type',