X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fmood.php;h=c693e7cdc980872949842a11634544ee60ee143b;hb=2c11e91e657611dcc81389a98b6152227f702267;hp=e378b9d0a40a8c40f1bd2146f7a41ac884840dc7;hpb=e1f366164509fc8217f9d0cf21d7475f6d71b73a;p=friendica.git diff --git a/mod/mood.php b/mod/mood.php index e378b9d0a4..c693e7cdc9 100644 --- a/mod/mood.php +++ b/mod/mood.php @@ -1,14 +1,16 @@ get_hostname(),$uid); - $action = sprintf( t('%1$s is currently %2$s'), '[url=' . $poster['url'] . ']' . $poster['name'] . '[/url]' , $verbs[$verb]); + $action = sprintf( t('%1$s is currently %2$s'), '[url=' . $poster['url'] . ']' . $poster['name'] . '[/url]' , $verbs[$verb]); $arr = array(); $arr['guid'] = get_guid(32); @@ -108,9 +110,9 @@ function mood_init(&$a) { -function mood_content(&$a) { +function mood_content(App $a) { - if(! local_user()) { + if (! local_user()) { notice( t('Permission denied.') . EOL); return; }