mirror of
https://github.com/friendica/friendica
synced 2025-05-04 09:04:11 +02:00
Delete removed contacts
This commit is contained in:
parent
cb5362f499
commit
a331a8cf0a
7 changed files with 59 additions and 15 deletions
|
@ -376,8 +376,7 @@ class HTTPSignature
|
|||
*/
|
||||
public static function fetch($request, $uid)
|
||||
{
|
||||
$opts = ['accept_content' => 'application/activity+json, application/ld+json'];
|
||||
$curlResult = self::fetchRaw($request, $uid, false, $opts);
|
||||
$curlResult = self::fetchRaw($request, $uid);
|
||||
|
||||
if (empty($curlResult)) {
|
||||
return false;
|
||||
|
@ -410,7 +409,7 @@ class HTTPSignature
|
|||
* @return object CurlResult
|
||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||
*/
|
||||
public static function fetchRaw($request, $uid = 0, $binary = false, $opts = [])
|
||||
public static function fetchRaw($request, $uid = 0, $opts = ['accept_content' => 'application/activity+json, application/ld+json'])
|
||||
{
|
||||
$header = [];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue