From: Bartosz DziewoƄski Date: Wed, 26 Apr 2017 15:39:01 +0000 (+0200) Subject: SpecialMediaStatistics: Remove WMF-specific hack, no longer needed X-Git-Tag: 1.31.0-rc.0~3423^2 X-Git-Url: http://git.cyclocoop.org/clavettes/images/siteon3.jpg?a=commitdiff_plain;h=56c6ab9b81d5e190a34fd699ab0b05c6de571fe7;p=lhc%2Fweb%2Fwiklou.git SpecialMediaStatistics: Remove WMF-specific hack, no longer needed We deleted the broken row from the databases per T155769. This reverts 6e02a95227c4ef194ff2299a823aaa51aa9a223c. Bug: T74535 Bug: T155769 Change-Id: Iac0873eb7112502dd7fc6b34ca956d9a2dffcb44 --- diff --git a/includes/specials/SpecialMediaStatistics.php b/includes/specials/SpecialMediaStatistics.php index 7c4b490930..5192eb95e1 100644 --- a/includes/specials/SpecialMediaStatistics.php +++ b/includes/specials/SpecialMediaStatistics.php @@ -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',