[FIX] Default case to allow for custom payout methods

This commit is contained in:
David Meyer 2014-07-15 23:42:02 -07:00
parent 0138b82c13
commit 2f2c625284

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');
?>