Browse Source

Removed unneeded stuff

pull/10170/head
Michael 6 months ago
parent
commit
c4705a33c0
  1. 1
      src/Model/Item.php
  2. 2
      src/Protocol/Diaspora.php

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

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

Loading…
Cancel
Save