ReAdded get_station_id_with_qrz_api()

This commit is contained in:
int2001
2023-12-07 17:39:57 +00:00
parent 9559f45768
commit b85525ce9c

View File

@@ -1712,6 +1712,25 @@ class Logbook_model extends CI_Model {
return $this->db->query($sql);
}
/*
* Function returns all the station_id's with QRZ API Key's
*/
function get_station_id_with_qrz_api() {
$sql = 'select station_id, qrzapikey from station_profile
where coalesce(qrzapikey, "") <> ""';
$query = $this->db->query($sql);
$result = $query->result();
if ($result) {
return $result;
}
else {
return null;
}
}
/*
* Function returns all the station_id's with HRDLOG Code
*/