Merge "Protect WAN cache sets() against uncommitted data"
[lhc/web/wiklou.git] / includes / specials / SpecialUnusedcategories.php
index c897332..0d3216c 100644 (file)
  * @ingroup SpecialPage
  */
 class UnusedCategoriesPage extends QueryPage {
-
-       function isExpensive() {
-               return true;
-       }
-
        function __construct( $name = 'Unusedcategories' ) {
                parent::__construct( $name );
        }
 
+       public function isExpensive() {
+               return true;
+       }
+
        function getPageHeader() {
                return $this->msg( 'unusedcategoriestext' )->parseAsBlock();
        }
 
-       function getQueryInfo() {
+       public function getQueryInfo() {
                return array(
                        'tables' => array( 'page', 'categorylinks' ),
                        'fields' => array(