more cleanup from the mess yesterday - you might have a look for xchan_addr and hubloc_addr with slashes in them and fix them - especially getting rid of ip addresses and the /channel/xyz in the addr fields
This commit is contained in:
parent
2f2a316b27
commit
7a8363c328
@ -606,6 +606,9 @@ function import_xchan($arr) {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(strpos($location['address'],'/') !== false)
|
||||||
|
$location['address'] = substr($location['address'],0,strpos($location['address'],'/'));
|
||||||
|
|
||||||
// new hub claiming to be primary. Make it so.
|
// new hub claiming to be primary. Make it so.
|
||||||
|
|
||||||
if(intval($location['primary'])) {
|
if(intval($location['primary'])) {
|
||||||
|
Reference in New Issue
Block a user