Removed unneeded stuff

This commit is contained in:
Michael 2021-04-26 14:10:16 +00:00
parent 9afa3610cf
commit c4705a33c0
2 changed files with 0 additions and 3 deletions

View file

@ -21,7 +21,6 @@
namespace Friendica\Model;
use Exception;
use Friendica\Content\PageInfo;
use Friendica\Content\Text\BBCode;
use Friendica\Content\Text\HTML;

View 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;