From: Michael Date: Thu, 3 Nov 2022 04:27:30 +0000 (+0000) Subject: Simplified else case X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=12a352f4414825c5c057720d7de9c261fb770662;p=friendica.git Simplified else case --- diff --git a/src/Worker/Notifier.php b/src/Worker/Notifier.php index 7bde2b9b92..10fe6e3abc 100644 --- a/src/Worker/Notifier.php +++ b/src/Worker/Notifier.php @@ -783,7 +783,7 @@ class Notifier } Logger::info('Remote item will be distributed', ['id' => $target_item['id'], 'url' => $target_item['uri'], 'verb' => $target_item['verb']]); - } elseif ($parent['origin']) { + } else { Logger::info('Remote activity will not be distributed', ['id' => $target_item['id'], 'url' => $target_item['uri'], 'verb' => $target_item['verb']]); return ['count' => 0, 'contacts' => []]; }