Some changes for better code quality
This commit is contained in:
parent
b043c7e0f2
commit
82987d018a
7 changed files with 17 additions and 23 deletions
|
@ -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"])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue