src/plugins/onTick/getKillmails.php 1 location
|
@@ 89-91 (lines=3) @@
|
| 86 |
|
foreach ($this->groupConfig as $kmGroup) { |
| 87 |
|
$killID = getPermCache("{$kmGroup['name']}newestKillmailID"); |
| 88 |
|
//check if start id is greater than current id and if it is set |
| 89 |
|
if ($kmGroup['startMail'] > $killID || null === $killID) { |
| 90 |
|
$killID = $kmGroup['startMail']; |
| 91 |
|
} |
| 92 |
|
if ($kmGroup['allianceID'] == '0' & $kmGroup['lossMails'] === 'true') { |
| 93 |
|
$url = "https://zkillboard.com/api/no-attackers/no-items/orderDirection/asc/afterKillID/{$killID}/corporationID/{$kmGroup['corpID']}/"; |
| 94 |
|
} |
src/plugins/onTick/getKillmailsRedis.php 1 location
|
@@ 128-130 (lines=3) @@
|
| 125 |
|
$killID = getPermCache("{$kmGroup['name']}newestKillmailID"); |
| 126 |
|
|
| 127 |
|
//check if start id is greater than current id and if it is set |
| 128 |
|
if ($kmGroup['startMail'] > $killID || null === $killID) { |
| 129 |
|
$killID = $kmGroup['startMail']; |
| 130 |
|
} |
| 131 |
|
|
| 132 |
|
//Check if id's are in the kill |
| 133 |
|
$corpLoss = false; |