mirror of
https://github.com/friendica/friendica
synced 2025-02-22 23:58:14 +00:00
Renamed function
This commit is contained in:
parent
51fb265621
commit
1b6b6bcc6d
2 changed files with 2 additions and 2 deletions
|
@ -556,7 +556,7 @@ class Group
|
||||||
*
|
*
|
||||||
* @param integer $id Contact ID
|
* @param integer $id Contact ID
|
||||||
*/
|
*/
|
||||||
public static function getMembersForForum(int $id)
|
public static function UpdateMembersForForum(int $id)
|
||||||
{
|
{
|
||||||
Logger::info('Update forum members', ['id' => $id]);
|
Logger::info('Update forum members', ['id' => $id]);
|
||||||
|
|
||||||
|
|
|
@ -733,7 +733,7 @@ class Notifier
|
||||||
foreach (Tag::getByURIId($target_item['uri-id'], [Tag::EXCLUSIVE_MENTION]) as $tag) {
|
foreach (Tag::getByURIId($target_item['uri-id'], [Tag::EXCLUSIVE_MENTION]) as $tag) {
|
||||||
$target_contact = Contact::getByURL(Strings::normaliseLink($tag['url']), null, [], $uid);
|
$target_contact = Contact::getByURL(Strings::normaliseLink($tag['url']), null, [], $uid);
|
||||||
if (($target_contact['contact-type'] == Contact::TYPE_COMMUNITY) && $target_contact['manually-approve']) {
|
if (($target_contact['contact-type'] == Contact::TYPE_COMMUNITY) && $target_contact['manually-approve']) {
|
||||||
Group::getMembersForForum($target_contact['id']);
|
Group::UpdateMembersForForum($target_contact['id']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue