mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
ReAdded get_station_id_with_qrz_api()
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user