code cleanup

This commit is contained in:
Michael Vogel 2015-12-28 17:09:22 +01:00
parent 3476e21b28
commit 4c08b0ceb6

View file

@ -529,9 +529,9 @@ function probe_url($url, $mode = PROBE_NORMAL, $level = 1) {
}
}
if(strlen($dfrn)) {
$ret = scrape_dfrn(($hcard) ? $hcard : $dfrn, true);
if(is_array($ret) && x($ret,'dfrn-request')) {
$network = NETWORK_DFRN;
$request = $ret['dfrn-request'];