X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryTags.php;h=3184564845b6fa2e3c19d17d4da89b987970e6c5;hb=bc91ec321a0c57d39709f996fbf9d084c77b3f91;hp=9e2559f029145e8d66b2a6c9e3816c8e85668a76;hpb=74040b3e6d66a6c6473c35e43ac317dd55ed02d9;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryTags.php b/includes/api/ApiQueryTags.php index 9e2559f029..3184564845 100644 --- a/includes/api/ApiQueryTags.php +++ b/includes/api/ApiQueryTags.php @@ -40,7 +40,7 @@ class ApiQueryTags extends ApiQueryBase { private $fld_displayname = false, $fld_description = false, $fld_hitcount = false; - public function __construct( $query, $moduleName ) { + public function __construct( ApiQuery $query, $moduleName ) { parent::__construct( $query, $moduleName, 'tg' ); } @@ -170,23 +170,6 @@ class ApiQueryTags extends ApiQueryBase { ); } - public function getResultProperties() { - return array( - '' => array( - 'name' => 'string' - ), - 'displayname' => array( - 'displayname' => 'string' - ), - 'description' => array( - 'description' => 'string' - ), - 'hitcount' => array( - 'hitcount' => 'integer' - ) - ); - } - public function getDescription() { return 'List change tags.'; }