Same blanks removed
This commit is contained in:
parent
dacf36d05a
commit
57c5d064b8
1 changed files with 4 additions and 4 deletions
|
@ -145,7 +145,7 @@ function localize_item(&$item)
|
||||||
$item['body'] = item_redir_and_replace_images($extracted['body'], $extracted['images'], $item['contact-id']);
|
$item['body'] = item_redir_and_replace_images($extracted['body'], $extracted['images'], $item['contact-id']);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// @todo The following functionality needs to be cleaned up.
|
/// @todo The following functionality needs to be cleaned up.
|
||||||
if (!empty($item['verb'])) {
|
if (!empty($item['verb'])) {
|
||||||
$activity = DI::activity();
|
$activity = DI::activity();
|
||||||
|
|
||||||
|
@ -481,7 +481,7 @@ function conversation(App $a, array $items, $mode, $update, $preview = false, $o
|
||||||
'attendyes' => [],
|
'attendyes' => [],
|
||||||
'attendno' => [],
|
'attendno' => [],
|
||||||
'attendmaybe' => [],
|
'attendmaybe' => [],
|
||||||
'announce' => [],
|
'announce' => [],
|
||||||
];
|
];
|
||||||
|
|
||||||
if (DI::pConfig()->get(local_user(), 'system', 'hide_dislike')) {
|
if (DI::pConfig()->get(local_user(), 'system', 'hide_dislike')) {
|
||||||
|
@ -839,8 +839,8 @@ function conversation_add_children(array $parents, $block_authors, $order, $uid)
|
||||||
$activity = ['causer-id' => $parent['author-id']];
|
$activity = ['causer-id' => $parent['author-id']];
|
||||||
foreach (['commented', 'received', 'created'] as $orderfields) {
|
foreach (['commented', 'received', 'created'] as $orderfields) {
|
||||||
if (!empty($parent[$orderfields])) {
|
if (!empty($parent[$orderfields])) {
|
||||||
$activity[$orderfields] = $parent[$orderfields];
|
$activity[$orderfields] = $parent[$orderfields];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue