Revert "Refactor model loading"

This reverts commit 0ace9a48d1.
This commit is contained in:
phl0
2024-04-25 07:39:07 +02:00
parent 0ace9a48d1
commit d30e782083

View File

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