lotw_model is the better name

This commit is contained in:
HB9HIL
2024-07-04 06:59:58 +02:00
parent 4f578e775e
commit 5db5ed775e
2 changed files with 16 additions and 16 deletions

View File

@@ -16,10 +16,10 @@ class Dashboard extends CI_Controller
$this->load->model('logbook_model');
// LoTW infos
$this->load->model('Lotw');
$this->load->model('Lotw_model');
$current_date = date('Y-m-d H:i:s');
$data['lotw_cert_expired'] = $this->Lotw->lotw_cert_expired($this->session->userdata('user_id'), $current_date);
$data['lotw_cert_expiring'] = $this->Lotw->lotw_cert_expiring($this->session->userdata('user_id'), $current_date);
$data['lotw_cert_expired'] = $this->Lotw_model->lotw_cert_expired($this->session->userdata('user_id'), $current_date);
$data['lotw_cert_expiring'] = $this->Lotw_model->lotw_cert_expiring($this->session->userdata('user_id'), $current_date);
$this->load->model('logbooks_model');