From d50ce252f8f2d0f7115fbf02da1006cda610b265 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Thu, 22 Jul 2010 20:56:04 +0000 Subject: [PATCH] Remove unused $categories = array(); --- includes/api/ApiQueryAllCategories.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiQueryAllCategories.php b/includes/api/ApiQueryAllCategories.php index 86c5eb9de3..1a57676b23 100644 --- a/includes/api/ApiQueryAllCategories.php +++ b/includes/api/ApiQueryAllCategories.php @@ -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 ) { -- 2.20.1