[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

@@ -16,9 +16,9 @@ class Timeplotter extends CI_Controller {
// Render Page
$data['page_title'] = "Timeplotter";
$this->load->model('Timeplotter_model');
$this->load->model('bands');
$data['worked_bands'] = $this->Timeplotter_model->get_worked_bands();
$data['worked_bands'] = $this->bands->get_worked_bands();
$this->load->model('dxcc');
$data['dxcc_list'] = $this->dxcc->list();