Simplified else case

develop
Michael 2022-11-03 04:27:30 +00:00
rodzic 1847347c3a
commit 12a352f441
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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' => []];
}