Video Log : ps
This commit is contained in:
parent
49c57af16d
commit
4a767ff2b1
@ -10267,7 +10267,7 @@ class PD_Controller extends REST_Controller
|
||||
$log_array = array('primary_key'=>$records['fk_pd_id'],'table_name'=>'t_pd_triggered',
|
||||
'field_name'=>'video_call_initiate_user','old_value'=>null,'new_value'=>null,
|
||||
'fk_createdby'=>$records['user_id'],'createdon' => date('Y-m-d H-i-s'));
|
||||
$this->PD_Model->saveRecords($log_array, `h_common_masters`);}
|
||||
$this->PD_Model->saveRecords($log_array, COMMONMASTER);}
|
||||
// print_r($this->db->last_query());
|
||||
} else {
|
||||
$this->load->library('twlio');
|
||||
|
||||
@ -1018,8 +1018,12 @@ class PD_Model extends SPARQ_Model {
|
||||
|
||||
break;
|
||||
case 'video_call_initiate_user':
|
||||
$log_string = $log['createdby']." initiated call at .".$log['createdon'];
|
||||
$actual_logs[] = $log_string;
|
||||
$user = $log['createdby'];
|
||||
$time = $log['createdon'];
|
||||
$log_string = $user." initiated call at ".$time;
|
||||
$actual_logs[$log_key]['user'] = $user;
|
||||
$actual_logs[$log_key]['time'] = $time;
|
||||
$actual_logs[$log_key]['log'] = $log_string;
|
||||
break;
|
||||
default:
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user