mirror of
https://github.com/friendica/friendica
synced 2025-04-26 23:50:11 +00:00
The "attach" field is now deprecated
This commit is contained in:
parent
d383f49f1e
commit
43749c3069
14 changed files with 91 additions and 99 deletions
|
@ -52,7 +52,7 @@ class Fetch extends BaseModule
|
|||
// Fetch the item
|
||||
$fields = [
|
||||
'uid', 'title', 'body', 'guid', 'contact-id', 'private', 'created', 'received', 'app', 'location', 'coord', 'network',
|
||||
'event-id', 'resource-id', 'author-link', 'author-avatar', 'author-name', 'plink', 'owner-link', 'attach', 'uri-id'
|
||||
'event-id', 'resource-id', 'author-link', 'author-avatar', 'author-name', 'plink', 'owner-link', 'uri-id'
|
||||
];
|
||||
$condition = ['wall' => true, 'private' => [Item::PUBLIC, Item::UNLISTED], 'guid' => $guid, 'network' => [Protocol::DFRN, Protocol::DIASPORA]];
|
||||
$item = Item::selectFirst($fields, $condition);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue