From 49dd97e5fdbef3e8cb870a7800bd5bfdca6bd758 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 17 Feb 2022 21:51:47 +0000 Subject: [PATCH] User lower case --- src/Model/Group.php | 2 +- src/Worker/Notifier.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Model/Group.php b/src/Model/Group.php index cb8de042f6..58c59268e7 100644 --- a/src/Model/Group.php +++ b/src/Model/Group.php @@ -556,7 +556,7 @@ class Group * * @param integer $id Contact ID */ - public static function UpdateMembersForForum(int $id) + public static function updateMembersForForum(int $id) { Logger::info('Update forum members', ['id' => $id]); diff --git a/src/Worker/Notifier.php b/src/Worker/Notifier.php index df71fd01d8..abd5613dd0 100644 --- a/src/Worker/Notifier.php +++ b/src/Worker/Notifier.php @@ -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::UpdateMembersForForum($target_contact['id']); + Group::updateMembersForForum($target_contact['id']); } }