parent
724f2d633e
commit
f0b01554eb
@ -82,7 +82,7 @@ if (count($aPayouts) > 0) {
|
|||||||
if (!$notification->sendNotification($aData['account_id'], 'manual_payout', $aMailData))
|
if (!$notification->sendNotification($aData['account_id'], 'manual_payout', $aMailData))
|
||||||
$log->logError('Failed to send notification email to users address: ' . $aMailData['email']);
|
$log->logError('Failed to send notification email to users address: ' . $aMailData['email']);
|
||||||
// Recheck the users balance to make sure it is now 0
|
// Recheck the users balance to make sure it is now 0
|
||||||
$aBalance = $transaction->getBalance($aData['id']);
|
$aBalance = $transaction->getBalance($aData['account_id']);
|
||||||
if ($aBalance['confirmed'] > 0) {
|
if ($aBalance['confirmed'] > 0) {
|
||||||
$log->logFatal('User has a remaining balance of ' . $aBalance['confirmed'] . ' after a successful payout!');
|
$log->logFatal('User has a remaining balance of ' . $aBalance['confirmed'] . ' after a successful payout!');
|
||||||
$monitoring->endCronjob($cron_name, 'E0065', 1, true);
|
$monitoring->endCronjob($cron_name, 'E0065', 1, true);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user