X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryCategoryInfo.php;h=09306b4aad3ad646a846f31a32a1cac7a4d6ee08;hb=685ef510eeead335039dceff2e65ab666744240d;hp=3f4348d3109284da4b4680d12a61e14d574d35bc;hpb=921619b1199aa45faffe41fe6030ad89bfdd14a8;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryCategoryInfo.php b/includes/api/ApiQueryCategoryInfo.php index 3f4348d310..09306b4aad 100644 --- a/includes/api/ApiQueryCategoryInfo.php +++ b/includes/api/ApiQueryCategoryInfo.php @@ -74,7 +74,6 @@ class ApiQueryCategoryInfo extends ApiQueryBase { } $this->addOption( 'ORDER BY', 'cat_title' ); - $db = $this->getDB(); $res = $this->select( __METHOD__ ); $catids = array_flip( $cattitles ); @@ -95,6 +94,10 @@ class ApiQueryCategoryInfo extends ApiQueryBase { } } + public function getCacheMode( $params ) { + return 'public'; + } + public function getAllowedParams() { return array( 'continue' => null, @@ -118,4 +121,4 @@ class ApiQueryCategoryInfo extends ApiQueryBase { public function getVersion() { return __CLASS__ . ': $Id$'; } -} \ No newline at end of file +}