mirror of
https://github.com/friendica/friendica
synced 2025-04-30 18:24:23 +02:00
Test code removed
This commit is contained in:
parent
bd2ee581d3
commit
4a90e6b1f0
2 changed files with 2 additions and 8 deletions
|
@ -4059,7 +4059,6 @@ class Diaspora
|
|||
$fields = ['uri-id', 'body', 'title', 'author-name', 'author-link', 'author-avatar', 'guid', 'created', 'plink'];
|
||||
$item = Post::selectFirst($fields, ['uri-id' => $UriId, 'uid' => [$uid, 0], 'private' => [Item::PUBLIC, Item::UNLISTED]]);
|
||||
if (!DBA::isResult($item)) {
|
||||
Logger::info('Blubb-4', ['uri-id' => $UriId, 'uid' => $uid]);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -4100,7 +4099,6 @@ class Diaspora
|
|||
} else {
|
||||
$item['private'] = Item::PUBLIC;
|
||||
}
|
||||
Logger::info('Blubb-5', ['uri-id' => $UriId, 'uid' => $uid, 'item' => $item]);
|
||||
|
||||
return Item::insert($item, true);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue