From 73bcca892e656bb4e34f2a24fa964f41c5578359 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 13 Sep 2020 21:00:54 +0000 Subject: [PATCH] Fixed capitalization --- src/Model/Item.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Model/Item.php b/src/Model/Item.php index 4cc68c649..3c3cd5bf1 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -2021,13 +2021,13 @@ class Item $cid = Contact::getIdForURL($author['url'], $item['uid']); if (empty($cid) || !Contact::isSharing($cid, $item['uid'])) { - logger::info('The resharer is not a following contact: quit', ['resharer' => $author['url'], 'uid' => $item['uid']]); + Logger::info('The resharer is not a following contact: quit', ['resharer' => $author['url'], 'uid' => $item['uid']]); return; } if ($author['contact-type'] != Contact::TYPE_COMMUNITY) { if (!in_array($parent['post-type'], [self::PT_ARTICLE, self::PT_COMMENT]) || Contact::isSharing($parent['owner-id'], $item['uid'])) { - logger::info('The resharer is no forum: quit', ['resharer' => $item['author-id'], 'owner' => $parent['owner-id'], 'author' => $parent['author-id'], 'uid' => $item['uid']]); + Logger::info('The resharer is no forum: quit', ['resharer' => $item['author-id'], 'owner' => $parent['owner-id'], 'author' => $parent['author-id'], 'uid' => $item['uid']]); return; } self::update(['post-type' => self::PT_ANNOUNCEMENT], ['id' => $parent['id']]);