Handles issue 6122 - the self contact will be updated when invalid
$o .= '<p>' . $counter . '/' . $total . ': ' . $url;
- $curlResult = Probe::uri($url);
- if ($curlResult['network'] == Protocol::OSTATUS) {
+ $probed = Probe::uri($url);
+ if ($probed['network'] == Protocol::OSTATUS) {
$result = Contact::createFromProbe($uid, $url, true, Protocol::OSTATUS);
if ($result['success']) {
$o .= ' - ' . L10n::t('success');
if ($curlResult->isTimeout()) {
return false;
}
- $pubkey = $curlResult['body'];
+ $pubkey = $curlResult->getBody();
}
$key = explode(".", $pubkey);