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.
这个提交包含在:
Peter Goodhall 2025-08-02 11:31:45 +01:00
父节点 3a99b20ca9
当前提交 5c5b739e52
共有 2 个文件被更改,包括 0 次插入5 次删除

查看文件

@ -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) //

查看文件

@ -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)),