]> git.mxchange.org Git - friendica.git/commitdiff
Unneeded field removed
authorMichael <heluecht@pirati.ca>
Sat, 4 Mar 2023 19:28:31 +0000 (19:28 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 4 Mar 2023 19:28:31 +0000 (19:28 +0000)
src/Model/Post/Media.php

index c6185cf1a8230acb64e821c04a9eafd89e9f529d..5dfb227d643d18a14acbc8aa12115723fe2d5f19 100644 (file)
@@ -912,12 +912,11 @@ class Media
                        'url'  => $links[0]['url'],
                        'title' => $links[0]['name'],
                        'text' => $links[0]['description'],
-                       'alternative_title' => '', 
-                       'publisher_name' => $links[0]['publisher-name'], 
-                       'publisher_url' => $links[0]['publisher-url'], 
-                       'publisher_img' => $links[0]['publisher-image'], 
-                       'author_name' => $links[0]['author-name'], 
-                       'author_url' => $links[0]['author-url'], 
+                       'publisher_name' => $links[0]['publisher-name'],
+                       'publisher_url' => $links[0]['publisher-url'],
+                       'publisher_img' => $links[0]['publisher-image'],
+                       'author_name' => $links[0]['author-name'],
+                       'author_url' => $links[0]['author-url'],
                        'author_img' => $links[0]['author-image'],
                        'images' => [[
                                'src' => $links[0]['preview'],
@@ -926,7 +925,7 @@ class Media
                        ]]
                ];
                $body .= "\n" . PageInfo::getFooterFromData($data);
-               
+
                return $body;
        }