Remove text_url which is no longer in the doc spec

This commit is contained in:
Diogo Cordeiro 2018-05-05 01:06:43 +01:00
parent 9c4dc1a233
commit be73d6bdf6

View File

@ -45,7 +45,6 @@ class Activitypub_attachment extends Managed_DataObject
'id' => $attachment->getID (),
'mimetype' => $attachment->mimetype,
'url' => $attachment->getUrl (),
'text_url' => $attachment->isLocal () ? common_shorten_links($attachment->getUrl (), true): null,
'size' => $attachment->getSize (),
'title' => $attachment->getTitle (),
'meta' => null