From b1a42a3597ea240f5ba383111a8ffb32ce803b80 Mon Sep 17 00:00:00 2001 From: int2001 Date: Thu, 30 Jan 2025 17:36:41 +0000 Subject: [PATCH] Remove superfluous and unused function --- application/controllers/Clublog.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/application/controllers/Clublog.php b/application/controllers/Clublog.php index 67e86fa96..b4776344e 100644 --- a/application/controllers/Clublog.php +++ b/application/controllers/Clublog.php @@ -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; - } }