]> git.mxchange.org Git - friendica.git/blobdiff - mod/pubsubhubbub.php
link_compare calls
[friendica.git] / mod / pubsubhubbub.php
index d23f1fe47da3b7695cf195ab3ee7bfbe9ec944f9..b0557782701ce9a563f91df48cb86ef307fb48ce 100644 (file)
@@ -88,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);
-               if (!link_compare($hub_topic, $contact['poll']) && !link_compare($hub_topic2, $contact['poll'])) {
+               if (!Strings::compareLink($hub_topic, $contact['poll']) && !Strings::compareLink($hub_topic2, $contact['poll'])) {
                        Logger::log('Hub topic ' . $hub_topic . ' != ' . $contact['poll']);
                        System::httpExit(404);
                }