1
0
Fork 0

Some changes for better code quality

This commit is contained in:
Michael 2018-09-30 07:21:57 +00:00
commit 82987d018a
7 changed files with 17 additions and 23 deletions

View file

@ -338,9 +338,7 @@ class Probe
$ap_profile = ActivityPub::probeProfile($uri);
if (!empty($ap_profile) && (defaults($data, 'network', '') != Protocol::DFRN)) {
if (!empty($ap_profile) && ($ap_profile['network'] == Protocol::ACTIVITYPUB)) {
$data = $ap_profile;
}
$data = $ap_profile;
}
if (!isset($data["url"])) {