User lower case
This commit is contained in:
parent
234dac49b4
commit
49dd97e5fd
|
@ -556,7 +556,7 @@ class Group
|
||||||
*
|
*
|
||||||
* @param integer $id Contact ID
|
* @param integer $id Contact ID
|
||||||
*/
|
*/
|
||||||
public static function UpdateMembersForForum(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::UpdateMembersForForum($target_contact['id']);
|
Group::updateMembersForForum($target_contact['id']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user