X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FSiteNoticeInSidebar%2FSiteNoticeInSidebarPlugin.php;h=869a88dfc9278233485ce6ec9490a5cd9c9dd728;hb=d6b28c64830f632bb2f4b6f3c9369b9e56ad217a;hp=3131847349f80b9eb1f434001ab47b4bfa73c0d1;hpb=dc5b302fe9ac5906bac29b279dc78ad2d2625536;p=quix0rs-gnu-social.git diff --git a/plugins/SiteNoticeInSidebar/SiteNoticeInSidebarPlugin.php b/plugins/SiteNoticeInSidebar/SiteNoticeInSidebarPlugin.php index 3131847349..869a88dfc9 100644 --- a/plugins/SiteNoticeInSidebar/SiteNoticeInSidebarPlugin.php +++ b/plugins/SiteNoticeInSidebar/SiteNoticeInSidebarPlugin.php @@ -55,7 +55,7 @@ class SiteNoticeInSidebarPlugin extends Plugin * @return */ - function onStartShowSiteNotice($action) + function onStartShowSiteNotice(Action $action) { return false; } @@ -70,7 +70,7 @@ class SiteNoticeInSidebarPlugin extends Plugin return true; } - function onEndShowStyles($action) + function onEndShowStyles(Action $action) { $action->element('style', null, '#site_notice { width: 100% }'); return true;