]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/Delivery.php
normalise_link calls
[friendica.git] / src / Worker / Delivery.php
index f67390f843e35cc3ddc011cd8fed68a34b3c4cc8..40230e3bdb3ec1aeacf4abe08283d9ba27e021f3 100644 (file)
@@ -249,7 +249,7 @@ class Delivery extends BaseObject
                // perform local delivery if we are on the same site
 
                if (Strings::compareLink($basepath, System::baseUrl())) {
-                       $condition = ['nurl' => normalise_link($contact['url']), 'self' => true];
+                       $condition = ['nurl' => Strings::normaliseLink($contact['url']), 'self' => true];
                        $target_self = DBA::selectFirst('contact', ['uid'], $condition);
                        if (!DBA::isResult($target_self)) {
                                return;