From: Benjamin Lorteau Date: Tue, 14 Nov 2023 21:25:06 +0000 (-0500) Subject: [advancedcontentfilter] Fix obsolete reference to Repository\PostMedia->splitAttachments X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6a46d05bca98a9fce3d5a4c7c833106ff3f105f7;p=friendica-addons.git [advancedcontentfilter] Fix obsolete reference to Repository\PostMedia->splitAttachments --- diff --git a/advancedcontentfilter/advancedcontentfilter.php b/advancedcontentfilter/advancedcontentfilter.php index 2254e587..f2927f57 100644 --- a/advancedcontentfilter/advancedcontentfilter.php +++ b/advancedcontentfilter/advancedcontentfilter.php @@ -455,7 +455,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']; - $item_row['attachments'] = Post\Media::splitAttachments($item_row['uri-id']); + $item_row['attachments'] = DI::postMediaRepository()->splitAttachments($item_row['uri-id']); return $item_row; }