X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiLogout.php;h=bf0ca9c68b847f99573e4da4c93211ec7d8da11a;hb=c73cd2ef7c8bc36e8d0e1e6970347df564782db3;hp=bfdad34b6604fbb57308ad79b742386c80e08ac3;hpb=566635008a4ccd11dfdaac1a6ef9ff428f75251c;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiLogout.php b/includes/api/ApiLogout.php index bfdad34b66..bf0ca9c68b 100644 --- a/includes/api/ApiLogout.php +++ b/includes/api/ApiLogout.php @@ -39,14 +39,14 @@ class ApiLogout extends ApiBase { // Give extensions to do something after user logout $injected_html = ''; - wfRunHooks( 'UserLogoutComplete', array( &$user, &$injected_html, $oldName ) ); + Hooks::run( 'UserLogoutComplete', array( &$user, &$injected_html, $oldName ) ); } public function isReadMode() { return false; } - public function getExamplesMessages() { + protected function getExamplesMessages() { return array( 'action=logout' => 'apihelp-logout-example-logout',