From 69609e9cb896fa85ae16734f44522b16d0df8139 Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Wed, 10 Feb 2021 10:56:04 +0000 Subject: [PATCH] Removed some code temporary --- application/controllers/Options.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/application/controllers/Options.php b/application/controllers/Options.php index aace854c..46089c45 100644 --- a/application/controllers/Options.php +++ b/application/controllers/Options.php @@ -87,16 +87,16 @@ class Options extends CI_Controller { } // Update Lang choice within the options system - $lang_update_status = $this->optionslib->update('language', $this->input->post('language')); + // $lang_update_status = $this->optionslib->update('language', $this->input->post('language')); // If Lang update is complete set a flashsession with a success note - if($lang_update_status == TRUE) { - $this->session->set_flashdata('success', 'Language changed to '.ucfirst($this->input->post('language'))); - } + // if($lang_update_status == TRUE) { + // $this->session->set_flashdata('success', 'Language changed to '.ucfirst($this->input->post('language'))); + // } // Redirect back to /appearance redirect('/options/appearance'); } } -} \ No newline at end of file +}