mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-25 00:44:03 -04:00
MY_Session workaround is not required anymore with CI3.0
See for fix: https://github.com/bcit-ci/CodeIgniter/issues/3073
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
<?php
|
||||
class MY_Session extends CI_Session {
|
||||
|
||||
/**
|
||||
* Update an existing session
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
function sess_update() {
|
||||
// skip the session update if this is an AJAX call! This is a bug in CI; see:
|
||||
// https://github.com/EllisLab/CodeIgniter/issues/154
|
||||
// http://codeigniter.com/forums/viewthread/102456/P15
|
||||
if ( !($this->CI->input->is_ajax_request()) ) {
|
||||
parent::sess_update();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user