Removed some code temporary

pull/889/head
Peter Goodhall 2021-02-10 10:56:04 +00:00 zatwierdzone przez GitHub
rodzic 405c9da68a
commit 69609e9cb8
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -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');
}
}
}
}