]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/Diaspora.php
Transmit shared attachments via ActivityPub
[friendica.git] / src / Protocol / Diaspora.php
index e973fcb85f683ccbe08c6664dcffbb64f8453de4..4ad70eac0c1661599bad19025692a2fefa4f563d 100644 (file)
@@ -2728,8 +2728,6 @@ class Diaspora
                if ($data->photo) {
                        foreach ($data->photo as $photo) {
                                self::storePhotoAsMedia($datarray['uri-id'], $photo);
-                               //$body = "[img]".XML::unescape($photo->remote_photo_path).
-                               //      XML::unescape($photo->remote_photo_name)."[/img]\n".$body;
                        }
 
                        $datarray["object-type"] = Activity\ObjectType::IMAGE;