explain what is happening here
This commit is contained in:
parent
08d9316d76
commit
7e4e2f28db
@ -3584,6 +3584,9 @@ function import_author_zot($x) {
|
|||||||
|
|
||||||
$hash = make_xchan_hash($x['guid'],$x['guid_sig']);
|
$hash = make_xchan_hash($x['guid'],$x['guid_sig']);
|
||||||
|
|
||||||
|
// also - this function may get passed a profile url as 'url' and zot_refresh wants a hubloc_url (site baseurl),
|
||||||
|
// so deconstruct the url (if we have one) and rebuild it with just the baseurl components.
|
||||||
|
|
||||||
if(array_key_exists('url',$x)) {
|
if(array_key_exists('url',$x)) {
|
||||||
$m = parse_url($x['url']);
|
$m = parse_url($x['url']);
|
||||||
$desturl = $m['scheme'] . '://' . $m['host'];
|
$desturl = $m['scheme'] . '://' . $m['host'];
|
||||||
|
Reference in New Issue
Block a user