mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-04-01 01:25:39 +00:00
add missed alias check
This commit is contained in:
parent
14291afc93
commit
68dc7f9f99
1 changed files with 18 additions and 0 deletions
|
|
@ -409,6 +409,12 @@ try
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Aliases check
|
||||||
|
if (!isset($aliasMagnetId[$remoteMagnetDownload->magnetId]) || !isset($aliasUserId[$remoteMagnetDownload->userId]))
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// Add new magnet download if not exist by timestamp added for this user
|
// Add new magnet download if not exist by timestamp added for this user
|
||||||
if (!$db->findMagnetDownload($aliasMagnetId[$remoteMagnetDownload->magnetId],
|
if (!$db->findMagnetDownload($aliasMagnetId[$remoteMagnetDownload->magnetId],
|
||||||
$aliasUserId[$remoteMagnetDownload->userId],
|
$aliasUserId[$remoteMagnetDownload->userId],
|
||||||
|
|
@ -439,6 +445,12 @@ try
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Aliases check
|
||||||
|
if (!isset($aliasMagnetId[$remoteMagnetView->magnetId]) || !isset($aliasUserId[$remoteMagnetView->userId]))
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// Add new magnet view if not exist by timestamp added for this user
|
// Add new magnet view if not exist by timestamp added for this user
|
||||||
if (!$db->findMagnetView($aliasMagnetId[$remoteMagnetView->magnetId],
|
if (!$db->findMagnetView($aliasMagnetId[$remoteMagnetView->magnetId],
|
||||||
$aliasUserId[$remoteMagnetView->userId],
|
$aliasUserId[$remoteMagnetView->userId],
|
||||||
|
|
@ -469,6 +481,12 @@ try
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Aliases check
|
||||||
|
if (!isset($aliasMagnetId[$remoteMagnetStar->magnetId]) || !isset($aliasUserId[$remoteMagnetStar->userId]))
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// Add new magnet star if not exist by timestamp added for this user
|
// Add new magnet star if not exist by timestamp added for this user
|
||||||
if (!$db->findMagnetStar($aliasMagnetId[$remoteMagnetStar->magnetId],
|
if (!$db->findMagnetStar($aliasMagnetId[$remoteMagnetStar->magnetId],
|
||||||
$aliasUserId[$remoteMagnetStar->userId],
|
$aliasUserId[$remoteMagnetStar->userId],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue