]> git.mxchange.org Git - friendica.git/commitdiff
Fixed capitalization
authorMichael <heluecht@pirati.ca>
Sun, 13 Sep 2020 21:00:54 +0000 (21:00 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 13 Sep 2020 21:00:54 +0000 (21:00 +0000)
src/Model/Item.php

index 4cc68c6492d07c645322abef74fd0e85df6d8928..3c3cd5bf1d50554b2fc867bc7c98d9d9443c3eb7 100644 (file)
@@ -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']]);