]> git.mxchange.org Git - friendica.git/commitdiff
Renamed function
authorMichael <heluecht@pirati.ca>
Thu, 17 Feb 2022 07:53:24 +0000 (07:53 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 17 Feb 2022 07:53:24 +0000 (07:53 +0000)
src/Model/Group.php
src/Worker/Notifier.php

index b9f4c7f277d1e5b4d710ac600d3f27cf2d8ce0ae..cb8de042f664adad5b5385052cd07e522cca0fba 100644 (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]);
 
index f79b466377d2db5ddeeb2ea7f9a04219130132b0..df71fd01d87689a20345cdc89566913d6e0f09db 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::getMembersForForum($target_contact['id']);
+                               Group::UpdateMembersForForum($target_contact['id']);
                        }
                }