diff --git a/include/config/monitor_crons.inc.php b/include/config/monitor_crons.inc.php index 732c1bdc..d3726539 100644 --- a/include/config/monitor_crons.inc.php +++ b/include/config/monitor_crons.inc.php @@ -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'); + +?>