Remove text_url which is no longer in the doc spec
This commit is contained in:
parent
9c4dc1a233
commit
be73d6bdf6
@ -45,7 +45,6 @@ class Activitypub_attachment extends Managed_DataObject
|
|||||||
'id' => $attachment->getID (),
|
'id' => $attachment->getID (),
|
||||||
'mimetype' => $attachment->mimetype,
|
'mimetype' => $attachment->mimetype,
|
||||||
'url' => $attachment->getUrl (),
|
'url' => $attachment->getUrl (),
|
||||||
'text_url' => $attachment->isLocal () ? common_shorten_links($attachment->getUrl (), true): null,
|
|
||||||
'size' => $attachment->getSize (),
|
'size' => $attachment->getSize (),
|
||||||
'title' => $attachment->getTitle (),
|
'title' => $attachment->getTitle (),
|
||||||
'meta' => null
|
'meta' => null
|
||||||
|
Reference in New Issue
Block a user