Removed unneeded stuff
This commit is contained in:
parent
9afa3610cf
commit
c4705a33c0
2 changed files with 0 additions and 3 deletions
|
@ -21,7 +21,6 @@
|
||||||
|
|
||||||
namespace Friendica\Model;
|
namespace Friendica\Model;
|
||||||
|
|
||||||
use Exception;
|
|
||||||
use Friendica\Content\PageInfo;
|
use Friendica\Content\PageInfo;
|
||||||
use Friendica\Content\Text\BBCode;
|
use Friendica\Content\Text\BBCode;
|
||||||
use Friendica\Content\Text\HTML;
|
use Friendica\Content\Text\HTML;
|
||||||
|
|
|
@ -2728,8 +2728,6 @@ class Diaspora
|
||||||
if ($data->photo) {
|
if ($data->photo) {
|
||||||
foreach ($data->photo as $photo) {
|
foreach ($data->photo as $photo) {
|
||||||
self::storePhotoAsMedia($datarray['uri-id'], $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;
|
$datarray["object-type"] = Activity\ObjectType::IMAGE;
|
||||||
|
|
Loading…
Reference in a new issue