Refactor model loading

This commit is contained in:
phl0
2024-04-25 07:37:18 +02:00
parent 4761b935ee
commit 0ace9a48d1

View File

@@ -825,8 +825,7 @@ class Jcc_model extends CI_Model {
);
function get_jcc_array($bands, $postdata) {
$CI =& get_instance();
$CI->load->model('logbooks_model');
$this->load->model('logbooks_model');
$logbooks_locations_array = $CI->logbooks_model->list_logbook_relationships($this->session->userdata('active_station_logbook'));
if (!$logbooks_locations_array) {