mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-27 01:24:16 +00:00
remove redundant year from loadbands functions
This commit is contained in:
@@ -337,7 +337,7 @@ class Contesting_model extends CI_Model {
|
||||
return $data->result();
|
||||
}
|
||||
|
||||
function get_contest_bands($station_id, $year, $contestid, $from, $to) {
|
||||
function get_contest_bands($station_id, $contestid, $from, $to) {
|
||||
|
||||
//get distinct bands for the selected timeframe
|
||||
$binding=[];
|
||||
@@ -347,6 +347,7 @@ class Contesting_model extends CI_Model {
|
||||
and date(".$this->config->item('table_name').".COL_TIME_ON) <= ?
|
||||
and station_id = ? and COL_CONTEST_ID = ?";
|
||||
|
||||
//add data to bindings
|
||||
$binding[] = $from;
|
||||
$binding[] = $to;
|
||||
$binding[] = $station_id;
|
||||
|
||||
Reference in New Issue
Block a user