X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialMediaStatistics.php;h=5192eb95e147d485dbf0e7064e6b0c76f13fa059;hb=512a187a2f58b020fb866f0fdc5703091f9e47e3;hp=a88767ae4ddaa58e9d9c3c96fd600dda4aa39850;hpb=d4a1177aa66759a5cf05887830435bb9e50f7780;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialMediaStatistics.php b/includes/specials/SpecialMediaStatistics.php index a88767ae4d..5192eb95e1 100644 --- a/includes/specials/SpecialMediaStatistics.php +++ b/includes/specials/SpecialMediaStatistics.php @@ -23,6 +23,7 @@ */ use Wikimedia\Rdbms\ResultWrapper; +use Wikimedia\Rdbms\IDatabase; /** * @ingroup SpecialPage @@ -83,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',