don't import any hubloc that doesn't have a sitekey. Eventually we should also verify that it is a valid key, as we've already seen one case where one character got mangled and messed up communication.
This commit is contained in:
parent
d8d45dab76
commit
5aa508dba7
@ -583,9 +583,14 @@ function import_xchan($arr) {
|
||||
intval(HUBLOC_FLAGS_PRIMARY),
|
||||
intval($r[0]['hubloc_id'])
|
||||
);
|
||||
update_modtime($xchan_hash);
|
||||
$changed = true;
|
||||
}
|
||||
update_modtime($xchan_hash);
|
||||
$changed = true;
|
||||
continue;
|
||||
}
|
||||
|
||||
if(! $location['sitekey']) {
|
||||
logger('import_xchan: empty hubloc sitekey. ' . print_r($location,true));
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -1 +1 @@
|
||||
2013-08-09.400
|
||||
2013-08-11.402
|
||||
|
Reference in New Issue
Block a user