X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fpubsubhubbub.php;h=8689ae373cf5d3e8ef8be5db13b730e26100fa76;hb=b521e45903544f15443d9f77bfe684c67d139873;hp=f376e9e8567663ab555f05e6626dba5cd95fa869;hpb=53e38b03130ea798bba44db44ccb7f331dc4b91d;p=friendica.git diff --git a/mod/pubsubhubbub.php b/mod/pubsubhubbub.php index f376e9e856..8689ae373c 100644 --- a/mod/pubsubhubbub.php +++ b/mod/pubsubhubbub.php @@ -66,9 +66,9 @@ function pubsubhubbub_init(App $a) { Logger::log("$hub_mode request from " . $_SERVER['REMOTE_ADDR']); - if ($a->argc > 1) { + if (DI::args()->getArgc() > 1) { // Normally the url should now contain the nick name as last part of the url - $nick = $a->argv[1]; + $nick = DI::args()->getArgv()[1]; } else { // Get the nick name from the topic as a fallback $nick = $hub_topic;