There is no table "sess_data" - this database call is useless
This commit is contained in:
parent
8eb05fd1bd
commit
a2507804f2
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ function ref_session_destroy ($id) {
|
|||
if(! function_exists('ref_session_gc')) {
|
||||
function ref_session_gc($expire) {
|
||||
q("DELETE FROM `session` WHERE `expire` < %d", dbesc(time()));
|
||||
q("OPTIMIZE TABLE `sess_data`");
|
||||
//q("OPTIMIZE TABLE `sess_data`");
|
||||
return true;
|
||||
}}
|
||||
|
||||
|
|
Loading…
Reference in a new issue