[Bands] Consolidated get_worked_bands to it's own model. This will make it easier to have everything in one place, and perhaps also move bands to db.

This commit is contained in:
Andreas
2021-11-13 15:55:17 +01:00
parent 92850e821d
commit 939434090d
21 changed files with 182 additions and 649 deletions

View File

@@ -34,10 +34,10 @@ class Map extends CI_Controller {
function custom()
{
$this->load->model('dxcc');
$this->load->model('bands');
//$this->load->model('modes');
$data['worked_bands'] = $this->dxcc->get_worked_bands(); // Used in the view for band select
$data['worked_bands'] = $this->bands->get_worked_bands(); // Used in the view for band select
//$data['modes'] = $this->modes->active(); // Used in the view for mode select
if ($this->input->post('band') != NULL) { // Band is not set when page first loads.