[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());
|
$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
|
// Recheck the users balance to make sure it is now 0
|
||||||
if (!$aBalance = $transaction->getBalance($aData['account_id']) {
|
if (!$aBalance = $transaction->getBalance($aData['account_id']) {
|
||||||
$log->logFatal('Failed to fetch balance for account ' . $aData['account_id'] . '. ERROR: ' . $transaction->getCronError());
|
$log->logFatal('Failed to fetch balance for account ' . $aData['account_id'] . '. ERROR: ' . $transaction->getCronError());
|
||||||
$monitoring->endCronjob($cron_name, 'E0065', 1, true);
|
$monitoring->endCronjob($cron_name, 'E0065', 1, true);
|
||||||
}
|
}
|
||||||
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);
|
||||||
|
|||||||
@ -56,14 +56,14 @@ if ($config['pps']['reward']['type'] == 'blockavg' && $block->getBlockCount() >
|
|||||||
if ($config['pps']['reward']['type'] == 'block') {
|
if ($config['pps']['reward']['type'] == 'block') {
|
||||||
if ($aLastBlock = $block->getLast()) {
|
if ($aLastBlock = $block->getLast()) {
|
||||||
$pps_reward = $aLastBlock['amount'];
|
$pps_reward = $aLastBlock['amount'];
|
||||||
$log->logInfo("PPS value (Last Block): " . $pps_reward);
|
$log->logInfo("PPS value (Last Block): " . $pps_reward);
|
||||||
} else {
|
} else {
|
||||||
$pps_reward = $config['pps']['reward']['default'];
|
$pps_reward = $config['pps']['reward']['default'];
|
||||||
$log->logInfo("PPS value (Default): " . $pps_reward);
|
$log->logInfo("PPS value (Default): " . $pps_reward);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$pps_reward = $config['pps']['reward']['default'];
|
$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