mirror of
https://github.com/friendica/friendica
synced 2025-04-27 13:10:10 +00:00
Get rid of the "item" table, enhanced "post" tables
This commit is contained in:
parent
c918e83aa2
commit
ce6ad1aa73
23 changed files with 736 additions and 235 deletions
|
@ -930,7 +930,7 @@ class Receiver
|
|||
} else {
|
||||
Logger::log('Empty content for ' . $object_id . ', check if content is available locally.', Logger::DEBUG);
|
||||
|
||||
$item = Post::selectFirst([], ['uri' => $object_id]);
|
||||
$item = Post::selectFirst(Item::DELIVER_FIELDLIST, ['uri' => $object_id]);
|
||||
if (!DBA::isResult($item)) {
|
||||
Logger::log('Object with url ' . $object_id . ' was not found locally.', Logger::DEBUG);
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue