X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Funfollow.php;h=9ee92b3ba9ed7fff5ace231e4a43907697ace40f;hb=5c63de1692c5be4ca457e03fc037683909a44348;hp=a26557a9a2157339a9ca70a0e95eb4a5747ca067;hpb=27d94023eef0263a3ce9750f79a73ac941a25304;p=friendica.git diff --git a/mod/unfollow.php b/mod/unfollow.php index a26557a9a2..9ee92b3ba9 100644 --- a/mod/unfollow.php +++ b/mod/unfollow.php @@ -2,9 +2,11 @@ /** * @file mod/unfollow.php */ + use Friendica\App; use Friendica\Core\L10n; use Friendica\Core\System; +use Friendica\Database\dba; use Friendica\Database\DBM; use Friendica\Model\Contact; use Friendica\Model\Profile; @@ -118,7 +120,7 @@ function unfollow_content(App $a) '$nickname' => "", '$name' => $contact["name"], '$url' => $contact["url"], - '$zrl' => Profile::zrl($contact["url"]), + '$zrl' => Contact::magicLink($contact["url"]), '$url_label' => L10n::t("Profile URL"), '$myaddr' => $myaddr, '$request' => $request,