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:
Mikael Nordfeldth
2013-10-29 11:27:26 +01:00
parent f8b49e69d0
commit 9b6633698c
12 changed files with 137 additions and 174 deletions

View File

@@ -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();