Merge pull request #13751 from annando/fix-capitalisation
Fix class name capitalisation
This commit is contained in:
commit
1cc76937d7
|
@ -605,7 +605,7 @@ class UserNotification
|
||||||
if (empty($item['quote-uri-id']) || ($item['quote-uri-id'] == $item['uri-id'])) {
|
if (empty($item['quote-uri-id']) || ($item['quote-uri-id'] == $item['uri-id'])) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$condition = ['uri-id' => $item['quote-uri-id'], 'uid' => $item['uid'], 'author-id' => $contacts, 'deleted' => false, 'gravity' => [item::GRAVITY_PARENT, Item::GRAVITY_COMMENT]];
|
$condition = ['uri-id' => $item['quote-uri-id'], 'uid' => $item['uid'], 'author-id' => $contacts, 'deleted' => false, 'gravity' => [Item::GRAVITY_PARENT, Item::GRAVITY_COMMENT]];
|
||||||
return Post::exists($condition);
|
return Post::exists($condition);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -338,7 +338,7 @@ class Tag
|
||||||
/**
|
/**
|
||||||
* Store raw tags (not encapsulated in links) from the body
|
* Store raw tags (not encapsulated in links) from the body
|
||||||
* This function is needed in the intermediate phase.
|
* This function is needed in the intermediate phase.
|
||||||
* Later we can call item::setHashtags in advance to have all tags converted.
|
* Later we can call Item::setHashtags in advance to have all tags converted.
|
||||||
*
|
*
|
||||||
* @param integer $uriId URI-Id
|
* @param integer $uriId URI-Id
|
||||||
* @param string $body Body of the post
|
* @param string $body Body of the post
|
||||||
|
|
|
@ -1118,7 +1118,7 @@ class Processor
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (($receiver != 0) && ($item['gravity'] == Item::GRAVITY_PARENT) && !in_array($item['post-reason'], [Item::PR_FOLLOWER, Item::PR_TAG, item::PR_TO, Item::PR_CC, Item::PR_AUDIENCE])) {
|
if (($receiver != 0) && ($item['gravity'] == Item::GRAVITY_PARENT) && !in_array($item['post-reason'], [Item::PR_FOLLOWER, Item::PR_TAG, Item::PR_TO, Item::PR_CC, Item::PR_AUDIENCE])) {
|
||||||
if (!$item['isGroup']) {
|
if (!$item['isGroup']) {
|
||||||
if ($item['post-reason'] == Item::PR_BCC) {
|
if ($item['post-reason'] == Item::PR_BCC) {
|
||||||
Logger::info('Top level post via BCC from a non sharer, ignoring', ['uid' => $receiver, 'contact' => $item['contact-id'], 'url' => $item['uri']]);
|
Logger::info('Top level post via BCC from a non sharer, ignoring', ['uid' => $receiver, 'contact' => $item['contact-id'], 'url' => $item['uri']]);
|
||||||
|
|
Loading…
Reference in a new issue