fix bug
This commit is contained in:
@@ -8,6 +8,7 @@ define('WRB_CRONJOB_SIGNUP_ALERT', 773);
|
||||
define('WRB_CRONJOB_PASTDUE_ALERT',774);
|
||||
define('WRB_CRONJOB_OFFER_REFUND_ALERT',775);
|
||||
define('WRB_CRONJOB_PENDOFFER_ALERT',776);
|
||||
define('WRB_CRONJOB_NOTIFICATIONS', 777) ;
|
||||
class WrenchCrons extends BaseController
|
||||
{
|
||||
|
||||
@@ -38,6 +39,10 @@ class WrenchCrons extends BaseController
|
||||
$wrenchboard = new \App\Models\BackendModel();
|
||||
$out=[];
|
||||
|
||||
$in['call_action'] = WRB_CRONJOB_NOTIFICATIONS;
|
||||
$in['one_limit'] = 10;
|
||||
$ret['WRB_CRONJOB_NOTIFICATIONS'] = $wrenchboard->wrenchboard_api($in, $out);
|
||||
|
||||
log_message('critical', "WrenchCrons ===> 0001");
|
||||
//$response = []; //json_decode($complete, true);
|
||||
return $this->response->setJson($out);
|
||||
|
||||
Reference in New Issue
Block a user