dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5db177
)
Remove unused $categories = array();
author
Sam Reed
<reedy@users.mediawiki.org>
Thu, 22 Jul 2010 20:56:04 +0000
(20:56 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Thu, 22 Jul 2010 20:56:04 +0000
(20:56 +0000)
includes/api/ApiQueryAllCategories.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiQueryAllCategories.php
b/includes/api/ApiQueryAllCategories.php
index
86c5eb9
..
1a57676
100644
(file)
--- 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 ) {