X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiRsd.php;h=f28e610fce1b18e49e58789fc0d267009bde72af;hb=f26e34fa2866584f7a86f559578aab7b2bb35f7a;hp=d32b0dd8ed5f562de668be7dde75e462016f5c77;hpb=509d2fa1b24cb2a4da077b033c8a486182dedb1d;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiRsd.php b/includes/api/ApiRsd.php index d32b0dd8ed..f28e610fce 100644 --- a/includes/api/ApiRsd.php +++ b/includes/api/ApiRsd.php @@ -51,7 +51,7 @@ class ApiRsd extends ApiBase { return new ApiFormatXmlRsd( $this->getMain(), 'xml' ); } - public function getExamplesMessages() { + protected function getExamplesMessages() { return array( 'action=rsd' => 'apihelp-rsd-example-simple', @@ -99,7 +99,7 @@ class ApiRsd extends ApiBase { ) ), ); - wfRunHooks( 'ApiRsdServiceApis', array( &$apis ) ); + Hooks::run( 'ApiRsdServiceApis', array( &$apis ) ); return $apis; }