From 352b933f445cf9a9be36c27bb50855ad43b88e15 Mon Sep 17 00:00:00 2001 From: Andreas <6977712+AndreasK79@users.noreply.github.com> Date: Tue, 12 Dec 2023 21:41:23 +0100 Subject: [PATCH] [Award] WAS - removed unused code --- application/controllers/Awards.php | 29 ------------------- application/views/interface_assets/footer.php | 22 ++++---------- 2 files changed, 5 insertions(+), 46 deletions(-) diff --git a/application/controllers/Awards.php b/application/controllers/Awards.php index 0e2f9e6a..5ee3e942 100644 --- a/application/controllers/Awards.php +++ b/application/controllers/Awards.php @@ -964,35 +964,6 @@ class Awards extends CI_Controller { $this->load->view('adif/data/exportall', $data); } - /* - function was_map - - This displays the WAS map and requires the $band_type and $mode_type - */ - public function was_map2($band_type, $mode_type) { - - $this->load->model('was'); - - $data['mode'] = $mode_type; - - $bands[] = $band_type; - - $postdata['qsl'] = 1; - $postdata['lotw'] = 1; - $postdata['eqsl'] = 0; - $postdata['worked'] = 1; - $postdata['confirmed'] = 1; - $postdata['notworked'] = 1; - $postdata['band'] = $band_type; - $postdata['mode'] = $mode_type; - - $data['was_array'] = $this->was->get_was_array($bands, $postdata); - - $data['page_title'] = ""; - - $this->load->view('awards/was/map', $data); - } - /* function was_map diff --git a/application/views/interface_assets/footer.php b/application/views/interface_assets/footer.php index 5a1cd98e..6b255491 100644 --- a/application/views/interface_assets/footer.php +++ b/application/views/interface_assets/footer.php @@ -55,18 +55,6 @@ $('[data-bs-toggle="tooltip"]').tooltip(); }); -uri->segment(1) == "awards" && ($this->uri->segment(2) == "was") ) { ?> - - - - +