mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-21 20:43:41 +00:00
Let's avoid local variables
This commit is contained in:
parent
d39717a2d5
commit
04466968dc
1 changed files with 1 additions and 4 deletions
|
@ -450,10 +450,7 @@ function advancedcontentfilter_prepare_item_row(array $item_row): array
|
|||
$item_row['tags'] = $tags['tags'];
|
||||
$item_row['hashtags'] = $tags['hashtags'];
|
||||
$item_row['mentions'] = $tags['mentions'];
|
||||
|
||||
$attachments = Post\Media::splitAttachments($item_row['uri-id'], $item_row['guid'] ?? '');
|
||||
|
||||
$item_row['attachments'] = $attachments;
|
||||
$item_row['attachments'] = Post\Media::splitAttachments($item_row['uri-id'], $item_row['guid'] ?? '');
|
||||
|
||||
return $item_row;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue