From 2f2c625284a9960d9e82181555eacd9dcb87963c Mon Sep 17 00:00:00 2001 From: David Meyer Date: Tue, 15 Jul 2014 23:42:02 -0700 Subject: [PATCH] [FIX] Default case to allow for custom payout methods --- include/config/monitor_crons.inc.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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'); + +?>