Remove unused $categories = array();
authorSam Reed <reedy@users.mediawiki.org>
Thu, 22 Jul 2010 20:56:04 +0000 (20:56 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Thu, 22 Jul 2010 20:56:04 +0000 (20:56 +0000)
includes/api/ApiQueryAllCategories.php

index 86c5eb9..1a57676 100644 (file)
@@ -83,7 +83,7 @@ class ApiQueryAllCategories extends ApiQueryGeneratorBase {
                $res = $this->select( __METHOD__ );
 
                $pages = array();
-               $categories = array();
+
                $result = $this->getResult();
                $count = 0;
                foreach ( $res as $row ) {