Make the tests happy
This commit is contained in:
parent
2c32429d8d
commit
0971bcf165
5 changed files with 6 additions and 6 deletions
|
@ -998,7 +998,7 @@ class DFRN
|
|||
$path_parts = explode('/', $parts['path']);
|
||||
array_pop($path_parts);
|
||||
$parts['path'] = implode('/', $path_parts);
|
||||
$contact['batch'] = Uri::fromParts($parts);
|
||||
$contact['batch'] = (string)Uri::fromParts($parts);
|
||||
}
|
||||
|
||||
$dest_url = ($public_batch ? $contact['batch'] : $contact['notify']);
|
||||
|
|
|
@ -1419,7 +1419,7 @@ class Diaspora
|
|||
|
||||
$parts = parse_url($person['url']);
|
||||
unset($parts['path']);
|
||||
$host_url = Uri::fromParts($parts);
|
||||
$host_url = (string)Uri::fromParts($parts);
|
||||
|
||||
return $host_url . '/objects/' . $guid;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue