mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Remove superfluous and unused function
This commit is contained in:
@@ -76,17 +76,4 @@ class Clublog extends CI_Controller
|
||||
$this->clublog_model->mark_qsos_sent($clean_station_id);
|
||||
}
|
||||
|
||||
// Find DXCC
|
||||
function find_dxcc($callsign)
|
||||
{
|
||||
$clean_callsign = $this->security->xss_clean($callsign);
|
||||
// Live lookup against Clublogs API
|
||||
$url = "https://clublog.org/dxcc?call=" . $clean_callsign . "&api=608df94896cb9c5421ae748235492b43815610c9&full=1";
|
||||
|
||||
$json = file_get_contents($url);
|
||||
$data = json_decode($json, TRUE);
|
||||
|
||||
// echo ucfirst(strtolower($data['Name']));
|
||||
return $data;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user