]> git.mxchange.org Git - friendica.git/commitdiff
User lower case
authorMichael <heluecht@pirati.ca>
Thu, 17 Feb 2022 21:51:47 +0000 (21:51 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 17 Feb 2022 21:51:47 +0000 (21:51 +0000)
src/Model/Group.php
src/Worker/Notifier.php

index cb8de042f664adad5b5385052cd07e522cca0fba..58c59268e77ba2ef9d54c977eedfa7dabed40eff 100644 (file)
@@ -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]);
 
index df71fd01d87689a20345cdc89566913d6e0f09db..abd5613dd0bc9937e91028b85f9e7da2c3affcf2 100644 (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::UpdateMembersForForum($target_contact['id']);
+                               Group::updateMembersForForum($target_contact['id']);
                        }
                }