Merge "Revert "Do not show empty categories with list=allcategories""
[lhc/web/wiklou.git] / includes / api / ApiQueryAllCategories.php
index e2d02a0..09f6edb 100644 (file)
@@ -57,7 +57,6 @@ class ApiQueryAllCategories extends ApiQueryGeneratorBase {
 
                $this->addTables( 'category' );
                $this->addFields( 'cat_title' );
-               $this->addWhere( 'cat_pages > 0' );
 
                if ( !is_null( $params['continue'] ) ) {
                        $cont = explode( '|', $params['continue'] );