Remove testcode, improve rearrange
This commit is contained in:
parent
019bb56668
commit
6496ed4c19
|
@ -134,10 +134,10 @@ class Probe
|
|||
}
|
||||
}
|
||||
|
||||
$newdata['networks'] = $data['networks'] ?? [];
|
||||
$newdata['networks'] = [];
|
||||
foreach ([Protocol::DIASPORA, Protocol::OSTATUS] as $network) {
|
||||
if (empty($newdata['networks'][$network])) {
|
||||
unset($newdata['networks'][$network]);
|
||||
if (!empty($data['networks'][$network])) {
|
||||
$newdata['networks'][$network] = $data['networks'][$network];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -4041,7 +4041,6 @@ class Diaspora
|
|||
|
||||
if (!self::parentSupportDiaspora($item['thr-parent-id'])) {
|
||||
Logger::info('One of the parents does not support Diaspora. A signature will not be created.', ['uri-id' => $item['uri-id'], 'guid' => $item['guid']]);
|
||||
echo "5";
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user