From 8311af3e9277e131e403e6f67b7809e4aa1beb00 Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Wed, 31 May 2017 18:43:57 +0200 Subject: [PATCH] use Probe:uri() instead of probe_url --- include/NotificationsManager.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/NotificationsManager.php b/include/NotificationsManager.php index 37d93b750c..e662bd7354 100644 --- a/include/NotificationsManager.php +++ b/include/NotificationsManager.php @@ -4,6 +4,9 @@ * @brief Methods for read and write notifications from/to database * or for formatting notifications */ + +use Friendica\Network\Probe; + require_once 'include/html2plain.php'; require_once 'include/probe.php'; require_once 'include/datetime.php'; @@ -847,7 +850,7 @@ class NotificationsManager { // If the network and addr is still not available try to probe // the contact url to fetch the missing data if ($arr['gnetwork'] == "" || $arr['gaddr'] == "") { - $ret = probe_url($arr["url"]); + $ret = Probe::uri($arr["url"]); } if ($arr['gnetwork'] == "") {