From 4527194e97d7f6dfd3e0ab55ac3c858e8ce68329 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sun, 18 Jan 2015 06:57:05 +0100 Subject: [PATCH] $sender cannot be only Profile ... (false found). Signed-off-by: Roland Haeder --- plugins/OStatus/OStatusPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php index 46e27be779..e6fa8f910a 100644 --- a/plugins/OStatus/OStatusPlugin.php +++ b/plugins/OStatus/OStatusPlugin.php @@ -306,7 +306,7 @@ class OStatusPlugin extends Plugin * @param array &$mention in/out param: set of found mentions * @return boolean hook return value */ - function onEndFindMentions(Profile $sender, $text, &$mentions) + function onEndFindMentions($sender, $text, &$mentions) { $matches = array(); -- 2.39.5