From: Sam Reed Date: Thu, 22 Jul 2010 20:56:04 +0000 (+0000) Subject: Remove unused $categories = array(); X-Git-Tag: 1.31.0-rc.0~36007 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=d50ce252f8f2d0f7115fbf02da1006cda610b265;p=lhc%2Fweb%2Fwiklou.git Remove unused $categories = array(); --- 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 ) {