-(bug 24484) Add prop=pageprops module
[lhc/web/wiklou.git] / includes / api / ApiQueryCategoryInfo.php
index 3f4348d..09306b4 100644 (file)
@@ -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
+}