Merge pull request #2279 from ManeBit/patch-1

[FIX] Default case to allow for custom payout methods
This commit is contained in:
Sebastian Grewe 2014-07-16 08:50:22 +02:00
commit e1afcfdbcc

View File

@ -3,15 +3,13 @@
// Small helper array that may be used on some page controllers to
// fetch the crons we wish to monitor
switch ($config['payout_system']) {
case 'pplns':
$sPayoutSystem = $config['payout_system'] . '_payout';
break;
case 'pps':
$sPayoutSystem = $config['payout_system'] . '_payout';
break;
case 'prop':
$sPayoutSystem = 'proportional_payout';
break;
default: // pps && pplns land here
$sPayoutSystem = $config['payout_system'] . '_payout';
}
$aMonitorCrons = array('statistics','tickerupdate','notifications','tables_cleanup','findblock',$sPayoutSystem,'blockupdate','payouts');
?>