From 99bf63dbdf492892bc2f29c2526de75436742c7c Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Fri, 18 Mar 2016 16:42:10 +0100 Subject: [PATCH] There is no table "sess_data" - this database call is useless --- include/session.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/session.php b/include/session.php index 11641d6cea..12551efc42 100644 --- a/include/session.php +++ b/include/session.php @@ -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; }}