Unify code structure
This commit is contained in:
parent
4d986526f9
commit
d8f9bb1e0a
|
@ -749,7 +749,6 @@ class Probe
|
||||||
if ((!$result && ($network == "")) || ($network == Protocol::PUMPIO)) {
|
if ((!$result && ($network == "")) || ($network == Protocol::PUMPIO)) {
|
||||||
$result = self::pumpio($webfinger, $addr);
|
$result = self::pumpio($webfinger, $addr);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empty($result['network']) && empty($ap_profile['network']) || ($network == Protocol::FEED)) {
|
if (empty($result['network']) && empty($ap_profile['network']) || ($network == Protocol::FEED)) {
|
||||||
$result = self::feed($uri);
|
$result = self::feed($uri);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user