[FIX] Indenting
This commit is contained in:
parent
bf05935447
commit
d0e3a88e27
@ -80,9 +80,9 @@ if ($setting->getValue('disable_manual_payouts') != 1) {
|
||||
$log->logError('Failed to send notification email to users address: ' . $aMailData['email'] . 'ERROR: ' . $notification->getCronError());
|
||||
// Recheck the users balance to make sure it is now 0
|
||||
if (!$aBalance = $transaction->getBalance($aData['account_id']) {
|
||||
$log->logFatal('Failed to fetch balance for account ' . $aData['account_id'] . '. ERROR: ' . $transaction->getCronError());
|
||||
$monitoring->endCronjob($cron_name, 'E0065', 1, true);
|
||||
}
|
||||
$log->logFatal('Failed to fetch balance for account ' . $aData['account_id'] . '. ERROR: ' . $transaction->getCronError());
|
||||
$monitoring->endCronjob($cron_name, 'E0065', 1, true);
|
||||
}
|
||||
if ($aBalance['confirmed'] > 0) {
|
||||
$log->logFatal('User has a remaining balance of ' . $aBalance['confirmed'] . ' after a successful payout!');
|
||||
$monitoring->endCronjob($cron_name, 'E0065', 1, true);
|
||||
|
||||
@ -56,14 +56,14 @@ if ($config['pps']['reward']['type'] == 'blockavg' && $block->getBlockCount() >
|
||||
if ($config['pps']['reward']['type'] == 'block') {
|
||||
if ($aLastBlock = $block->getLast()) {
|
||||
$pps_reward = $aLastBlock['amount'];
|
||||
$log->logInfo("PPS value (Last Block): " . $pps_reward);
|
||||
$log->logInfo("PPS value (Last Block): " . $pps_reward);
|
||||
} else {
|
||||
$pps_reward = $config['pps']['reward']['default'];
|
||||
$log->logInfo("PPS value (Default): " . $pps_reward);
|
||||
$log->logInfo("PPS value (Default): " . $pps_reward);
|
||||
}
|
||||
} else {
|
||||
$pps_reward = $config['pps']['reward']['default'];
|
||||
$log->logInfo("PPS value (Default): " . $pps_reward);
|
||||
$log->logInfo("PPS value (Default): " . $pps_reward);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user