diff --git a/SkinJSON.php b/SkinJSON.php index 1d3ab5e..22f569d 100644 --- a/SkinJSON.php +++ b/SkinJSON.php @@ -42,7 +42,7 @@ function getUser() { return parent::getUser(); } - public static function onSiteNoticeBefore( &$siteNotice, $skin ) { + public static function onSiteNoticeAfter( &$siteNotice, $skin ) { $empty = strlen( $siteNotice ) === 0; $config = $skin->getConfig(); if ( $config->get( 'SkinJSONValidate' ) ) { diff --git a/skin.json b/skin.json index eec3662..ae7a793 100644 --- a/skin.json +++ b/skin.json @@ -69,7 +69,7 @@ "SkinJSONValidate": true }, "Hooks": { - "SiteNoticeBefore": "SkinJSON::onSiteNoticeBefore", + "SiteNoticeAfter": "SkinJSON::onSiteNoticeAfter", "SidebarBeforeOutput": "SkinJSON::onSidebarBeforeOutput", "OutputPageBeforeHTML": "SkinJSON::onOutputPageBeforeHTML", "RequestContextCreateSkin": "SkinJSON::onRequestContextCreateSkin",