X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryImages.php;h=9bc3abedd67c727a6f21d64ece55614cabf19d20;hb=f85ae83503058a8fdc7b69bd256fe14fe3821eea;hp=032050ebf7057032a008eec3f55bd2758d993447;hpb=cf8adc462e623a0a101ddfdf3de4fc7d7e891e60;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryImages.php b/includes/api/ApiQueryImages.php index 032050ebf7..9bc3abedd6 100644 --- a/includes/api/ApiQueryImages.php +++ b/includes/api/ApiQueryImages.php @@ -32,7 +32,7 @@ */ class ApiQueryImages extends ApiQueryGeneratorBase { - public function __construct( $query, $moduleName ) { + public function __construct( ApiQuery $query, $moduleName ) { parent::__construct( $query, $moduleName, 'im' ); } @@ -170,15 +170,6 @@ class ApiQueryImages extends ApiQueryGeneratorBase { ); } - public function getResultProperties() { - return array( - '' => array( - 'ns' => 'namespace', - 'title' => 'string' - ) - ); - } - public function getDescription() { return 'Returns all images contained on the given page(s).'; }