forked from GNUsocial/gnu-social
Group discovery from text functions polished
Also removed the entirely unused saveGroups function. Now avoiding multiGet and using listFind in Profile->getGroups() so we don't have to deal with ArrayWrapper.
This commit is contained in:
@@ -337,7 +337,7 @@ class OStatusPlugin extends Plugin
|
||||
* @param array &$mention in/out param: set of found mentions
|
||||
* @return boolean hook return value
|
||||
*/
|
||||
function onEndFindMentions($sender, $text, &$mentions)
|
||||
function onEndFindMentions(Profile $sender, $text, &$mentions)
|
||||
{
|
||||
$matches = array();
|
||||
|
||||
|
Reference in New Issue
Block a user