Signed-off-by: Roland Haeder <roland@mxchange.org>
return true;
}
- function onEndShowHTML($action)
+ function onEndShowHTML(Action $action)
{
if (!common_logged_in()) {
// Set a place to return to when submitting forms
return true;
}
- function noticeAsJson($notice)
+ function noticeAsJson(Notice $notice)
{
// FIXME: this code should be abstracted to a neutral third
// party, like Notice::asJson(). I'm not sure of the ethics
*
* @return boolean hook return value
*/
- function onEndScriptMessages($action, &$messages)
+ function onEndScriptMessages(Action $action, &$messages)
{
// TRANS: Text label for realtime view "play" button, usually replaced by an icon.
$messages['realtime_play'] = _m('BUTTON', 'Play');
* @return
*/
- function onStartShowSiteNotice($action)
+ function onStartShowSiteNotice(Action $action)
{
return false;
}