Merge pull request #2279 from ManeBit/patch-1
[FIX] Default case to allow for custom payout methods
This commit is contained in:
commit
e1afcfdbcc
@ -3,15 +3,13 @@
|
|||||||
// Small helper array that may be used on some page controllers to
|
// Small helper array that may be used on some page controllers to
|
||||||
// fetch the crons we wish to monitor
|
// fetch the crons we wish to monitor
|
||||||
switch ($config['payout_system']) {
|
switch ($config['payout_system']) {
|
||||||
case 'pplns':
|
|
||||||
$sPayoutSystem = $config['payout_system'] . '_payout';
|
|
||||||
break;
|
|
||||||
case 'pps':
|
|
||||||
$sPayoutSystem = $config['payout_system'] . '_payout';
|
|
||||||
break;
|
|
||||||
case 'prop':
|
case 'prop':
|
||||||
$sPayoutSystem = 'proportional_payout';
|
$sPayoutSystem = 'proportional_payout';
|
||||||
break;
|
break;
|
||||||
|
default: // pps && pplns land here
|
||||||
|
$sPayoutSystem = $config['payout_system'] . '_payout';
|
||||||
}
|
}
|
||||||
|
|
||||||
$aMonitorCrons = array('statistics','tickerupdate','notifications','tables_cleanup','findblock',$sPayoutSystem,'blockupdate','payouts');
|
$aMonitorCrons = array('statistics','tickerupdate','notifications','tables_cleanup','findblock',$sPayoutSystem,'blockupdate','payouts');
|
||||||
|
|
||||||
|
?>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user