Merge pull request #800 from nicoschtein/patch-4

Issue 799
This commit is contained in:
Sebastian Grewe 2013-10-30 13:29:52 -07:00
commit e1ffce6a38
3 changed files with 9 additions and 2 deletions

View File

@ -231,7 +231,7 @@ foreach ($aAllBlocks as $iIndex => $aBlock) {
}
} else {
$aMailData = array(
'email' => $setting->getValue('website_email'),
'email' => $setting->getValue('system_error_email'),
'subject' => 'Payout processing aborted',
'Error' => 'Potential double payout detected. All payouts halted until fixed!',
'BlockID' => $aBlock['id'],

View File

@ -125,7 +125,7 @@ foreach ($aAllBlocks as $iIndex => $aBlock) {
} else {
$log->logFatal('Possible double payout detected. Aborted.');
$aMailData = array(
'email' => $setting->getValue('website_email'),
'email' => $setting->getValue('system_error_email'),
'subject' => 'Payout Failure: Double Payout',
'Error' => 'Possible double payout detected',
'BlockID' => $aBlock['id'],

View File

@ -172,6 +172,13 @@ $aSettings['acl'][] = array(
'name' => 'acl_round_statistics', 'value' => $setting->getValue('acl_round_statistics'),
'tooltip' => 'Make the round statistics page private (users only) or public.'
);
$aSettings['system'][] = array(
'display' => 'E-mail address for system error notifications', 'type' => 'text',
'size' => 25,
'default' => 'test@example.com',
'name' => 'system_error_email', 'value' => $setting->getValue('system_error_email'),
'tooltip' => 'The email address for system errors notifications, like cronjobs failures.'
);
$aSettings['system'][] = array(
'display' => 'Disable e-mail confirmations', 'type' => 'select',
'options' => array( 0 => 'No', 1 => 'Yes' ),