From c4705a33c03317848a31c9908c9d465622789f48 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 26 Apr 2021 14:10:16 +0000 Subject: [PATCH] Removed unneeded stuff --- src/Model/Item.php | 1 - src/Protocol/Diaspora.php | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/Model/Item.php b/src/Model/Item.php index ee4474b45..2c7cf36d4 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -21,7 +21,6 @@ namespace Friendica\Model; -use Exception; use Friendica\Content\PageInfo; use Friendica\Content\Text\BBCode; use Friendica\Content\Text\HTML; diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php index e973fcb85..4ad70eac0 100644 --- a/src/Protocol/Diaspora.php +++ b/src/Protocol/Diaspora.php @@ -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;