// 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',