From fa3a54e26012a740ba88f74d01b28a9d76b77756 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 3fdc11451f..09330452fc 100644 --- a/plugins/OStatus/OStatusPlugin.php +++ b/plugins/OStatus/OStatusPlugin.php @@ -319,7 +319,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