]> git.mxchange.org Git - friendica.git/commitdiff
Removed unneeded stuff
authorMichael <heluecht@pirati.ca>
Mon, 26 Apr 2021 14:10:16 +0000 (14:10 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 26 Apr 2021 14:10:16 +0000 (14:10 +0000)
src/Model/Item.php
src/Protocol/Diaspora.php

index ee4474b45d409608a8cc5559a34ec17add979be2..2c7cf36d4a0d812e74cc9bb127c1f1ffbf67b6eb 100644 (file)
@@ -21,7 +21,6 @@
 
 namespace Friendica\Model;
 
-use Exception;
 use Friendica\Content\PageInfo;
 use Friendica\Content\Text\BBCode;
 use Friendica\Content\Text\HTML;
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;