|
|
@ -519,6 +519,8 @@ try |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// kt |
|
|
|
// kt |
|
|
|
|
|
|
|
$db->deleteMagnetToKeywordTopicByMagnetId($localMagnet->magnetId); |
|
|
|
|
|
|
|
|
|
|
|
foreach ($remoteMagnet->kt as $kt) |
|
|
|
foreach ($remoteMagnet->kt as $kt) |
|
|
|
{ |
|
|
|
{ |
|
|
|
$db->initMagnetToKeywordTopicId( |
|
|
|
$db->initMagnetToKeywordTopicId( |
|
|
@ -528,6 +530,8 @@ try |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// tr |
|
|
|
// tr |
|
|
|
|
|
|
|
$db->deleteMagnetToAddressTrackerByMagnetId($localMagnet->magnetId); |
|
|
|
|
|
|
|
|
|
|
|
foreach ($remoteMagnet->tr as $tr) |
|
|
|
foreach ($remoteMagnet->tr as $tr) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if ($url = Yggverse\Parser\Url::parse($tr)) |
|
|
|
if ($url = Yggverse\Parser\Url::parse($tr)) |
|
|
@ -545,6 +549,8 @@ try |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// as |
|
|
|
// as |
|
|
|
|
|
|
|
$db->deleteMagnetToAcceptableSourceByMagnetId($localMagnet->magnetId); |
|
|
|
|
|
|
|
|
|
|
|
foreach ($remoteMagnet->as as $as) |
|
|
|
foreach ($remoteMagnet->as as $as) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if ($url = Yggverse\Parser\Url::parse($as)) |
|
|
|
if ($url = Yggverse\Parser\Url::parse($as)) |
|
|
@ -562,6 +568,8 @@ try |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// xs |
|
|
|
// xs |
|
|
|
|
|
|
|
$db->deleteMagnetToExactSourceByMagnetId($localMagnet->magnetId); |
|
|
|
|
|
|
|
|
|
|
|
foreach ($remoteMagnet->xs as $xs) |
|
|
|
foreach ($remoteMagnet->xs as $xs) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if ($url = Yggverse\Parser\Url::parse($tr)) |
|
|
|
if ($url = Yggverse\Parser\Url::parse($tr)) |
|
|
|