mirror of
https://github.com/friendica/friendica
synced 2025-04-28 11:44:23 +02:00
Fix code standards
This commit is contained in:
parent
cda1b91b77
commit
7432e47f7a
2 changed files with 10 additions and 10 deletions
|
@ -1448,7 +1448,7 @@ class Item
|
|||
}
|
||||
|
||||
$engagement_uri_id = Post\Engagement::storeFromItem($posted_item);
|
||||
|
||||
|
||||
if (in_array($posted_item['gravity'], [self::GRAVITY_PARENT, self::GRAVITY_COMMENT])) {
|
||||
Post\SearchIndex::insert($posted_item['uri-id'], $posted_item['network'], $posted_item['private'], $posted_item['created']);
|
||||
} elseif ($posted_item['verb'] == Activity::ANNOUNCE) {
|
||||
|
@ -1618,7 +1618,7 @@ class Item
|
|||
}
|
||||
|
||||
$languages = $item['language'] ? array_keys(json_decode($item['language'], true)) : [];
|
||||
|
||||
|
||||
foreach (Tag::getUIDListByURIId($item['uri-id']) as $uid => $tags) {
|
||||
if (!empty($languages)) {
|
||||
$keep = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue