mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
[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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user