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:
friendica 2013-08-26 17:06:19 -07:00
parent 2f2a316b27
commit 7a8363c328

View file

@ -606,6 +606,9 @@ function import_xchan($arr) {
continue;
}
if(strpos($location['address'],'/') !== false)
$location['address'] = substr($location['address'],0,strpos($location['address'],'/'));
// new hub claiming to be primary. Make it so.
if(intval($location['primary'])) {