notifications
This commit is contained in:
@@ -35,6 +35,8 @@ class WrenchCrons extends BaseController
|
||||
|
||||
public function cron_notifications()
|
||||
{
|
||||
log_message('critical', "WrenchCrons ===> cron_notifications ******** 0001");
|
||||
log_message('critical', "WrenchCrons ===> cron_notifications ******** 0001");
|
||||
$in["action"] = WRB_JOB_CRONJOB;
|
||||
$wrenchboard = new \App\Models\BackendModel();
|
||||
$out=[];
|
||||
@@ -42,8 +44,8 @@ class WrenchCrons extends BaseController
|
||||
$in['call_action'] = WRB_CRONJOB_NOTIFICATIONS;
|
||||
$in['one_limit'] = 10;
|
||||
$ret['WRB_CRONJOB_NOTIFICATIONS'] = $wrenchboard->wrenchboard_api($in, $out);
|
||||
|
||||
log_message('critical', "WrenchCrons ===> 0001");
|
||||
$out = $ret;
|
||||
log_message('critical', "WrenchCrons Out ===> cron_notifications ******** 0001");
|
||||
//$response = []; //json_decode($complete, true);
|
||||
return $this->response->setJson($out);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user