X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fpubsubhubbub.php;h=2ffaaf729efedcb5cb42cccd6b496b83a41a86c1;hb=9435cc4b88de611407bf992f571e12e8f54b3c51;hp=f71984ec1826cfce2a5df6492f17bdc4b841f759;hpb=1de3960e267a8d298348fbca18cf1be1f6a20f7a;p=friendica.git diff --git a/mod/pubsubhubbub.php b/mod/pubsubhubbub.php index f71984ec18..2ffaaf729e 100644 --- a/mod/pubsubhubbub.php +++ b/mod/pubsubhubbub.php @@ -1,10 +1,9 @@ get('system', 'block_public')) { throw new \Friendica\Network\HTTPException\ForbiddenException(); } @@ -89,7 +88,7 @@ function pubsubhubbub_init(App $a) { // sanity check that topic URLs are the same $hub_topic2 = str_replace('/feed/', '/dfrn_poll/', $hub_topic); - $self = System::baseUrl() . '/api/statuses/user_timeline/' . $owner['nickname'] . '.atom'; + $self = DI::baseUrl() . '/api/statuses/user_timeline/' . $owner['nickname'] . '.atom'; if (!Strings::compareLink($hub_topic, $contact['poll']) && !Strings::compareLink($hub_topic2, $contact['poll']) && !Strings::compareLink($hub_topic, $self)) { Logger::log('Hub topic ' . $hub_topic . ' != ' . $contact['poll']);