*
* @param integer $id Contact ID
*/
- public static function UpdateMembersForForum(int $id)
+ public static function updateMembersForForum(int $id)
{
Logger::info('Update forum members', ['id' => $id]);
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::UpdateMembersForForum($target_contact['id']);
+ Group::updateMembersForForum($target_contact['id']);
}
}