From 5c5b739e5299e5c660d033c8aaf1002013565b1c Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Sat, 2 Aug 2025 11:31:45 +0100 Subject: [PATCH] Remove debug log messages from Station controller and model Eliminated unnecessary log_message calls that output posted data and state values as errors. This cleanup reduces log noise and improves code clarity. --- application/controllers/Station.php | 1 - application/models/Stations.php | 4 ---- 2 files changed, 5 deletions(-) diff --git a/application/controllers/Station.php b/application/controllers/Station.php index 6e3966d9..7a2f4e55 100644 --- a/application/controllers/Station.php +++ b/application/controllers/Station.php @@ -84,7 +84,6 @@ class Station extends CI_Controller { $this->load->view('interface_assets/footer'); } else { // Get all the posted data from the form and save it to log file - log_message('error', 'Posted data: ' . json_encode($this->input->post())); if ($this->stations->edit() !== false) { // [eQSL default msg] ADD to user options (option_type='eqsl_default_qslmsg'; option_name='key_station_id'; option_key=station_id; option_value=value) // diff --git a/application/models/Stations.php b/application/models/Stations.php index f1447b9a..83670c1e 100644 --- a/application/models/Stations.php +++ b/application/models/Stations.php @@ -134,12 +134,8 @@ class Stations extends CI_Model { $state = xss_clean($this->input->post('station_ca_state', true)); } else { $state = xss_clean($this->input->post('station_state', true)); - // log as an error the value of state - log_message('error', 'State value: ' . $state); } - log_message('error', 'State value: ' . $this->input->post('station_state', true)); - $data = array( 'station_profile_name' => xss_clean($this->input->post('station_profile_name', true)), 'station_gridsquare' => xss_clean($this->input->post('gridsquare', true)),