Renamed function

This commit is contained in:
Michael 2022-02-17 07:53:24 +00:00
parent 51fb265621
commit 1b6b6bcc6d
2 changed files with 2 additions and 2 deletions

View File

@ -556,7 +556,7 @@ class Group
*
* @param integer $id Contact ID
*/
public static function getMembersForForum(int $id)
public static function UpdateMembersForForum(int $id)
{
Logger::info('Update forum members', ['id' => $id]);

View File

@ -733,7 +733,7 @@ class Notifier
foreach (Tag::getByURIId($target_item['uri-id'], [Tag::EXCLUSIVE_MENTION]) as $tag) {
$target_contact = Contact::getByURL(Strings::normaliseLink($tag['url']), null, [], $uid);
if (($target_contact['contact-type'] == Contact::TYPE_COMMUNITY) && $target_contact['manually-approve']) {
Group::getMembersForForum($target_contact['id']);
Group::UpdateMembersForForum($target_contact['id']);
}
}