Simplified else case
This commit is contained in:
parent
1847347c3a
commit
12a352f441
|
@ -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' => []];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user