Removing "blubb"

This commit is contained in:
Michael 2021-10-02 17:47:11 +00:00
parent 27a0a47e7e
commit c822cdaebd

View file

@ -1362,7 +1362,6 @@ class Contact
*/ */
public static function getPostsFromId($cid, $thread_mode = false, $update = 0, $parent = 0, bool $only_media = false) public static function getPostsFromId($cid, $thread_mode = false, $update = 0, $parent = 0, bool $only_media = false)
{ {
Logger::info('Blubb-1', ['cid' => $cid]);
$contact = DBA::selectFirst('contact', ['contact-type', 'network'], ['id' => $cid]); $contact = DBA::selectFirst('contact', ['contact-type', 'network'], ['id' => $cid]);
if (!DBA::isResult($contact)) { if (!DBA::isResult($contact)) {
return ''; return '';
@ -1423,7 +1422,6 @@ class Contact
$o .= DI::conversation()->create($items, 'contacts', $update, false, 'commented', local_user()); $o .= DI::conversation()->create($items, 'contacts', $update, false, 'commented', local_user());
} else { } else {
$items = Post::toArray(Post::selectForUser(local_user(), Item::DISPLAY_FIELDLIST, $condition, $params)); $items = Post::toArray(Post::selectForUser(local_user(), Item::DISPLAY_FIELDLIST, $condition, $params));
Logger::info('Blubb-2a', ['cid' => $cid, 'condition' => $condition]);
$o .= DI::conversation()->create($items, 'contact-posts', $update); $o .= DI::conversation()->create($items, 'contact-posts', $update);
} }