From e9d719a299a107ba6374b68be1e5f1b306e43fb5 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 5 Feb 2017 07:02:20 +0000 Subject: [PATCH] removed to-do --- include/bb2diaspora.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php index c197c7558..f18a0f3c2 100644 --- a/include/bb2diaspora.php +++ b/include/bb2diaspora.php @@ -11,15 +11,13 @@ require_once("library/html-to-markdown/HTML_To_Markdown.php"); * @brief Callback function to replace a Diaspora style mention in a mention for Friendica * * @param array $match Matching values for the callback - * @return text Replaced mention + * @return string Replaced mention */ function diaspora_mention2bb($match) { if ($match[2] == '') { return; } - /// @todo Don't use probe - //$data = Probe::uri($match[2]); $data = get_contact_details_by_addr($match[2]); $name = $match[1]; @@ -97,7 +95,7 @@ function diaspora2bb($s) { * @brief Callback function to replace a Friendica style mention in a mention for Diaspora * * @param array $match Matching values for the callback - * @return text Replaced mention + * @return string Replaced mention */ function diaspora_mentions($match) {