From: Michael Vogel Date: Fri, 18 Mar 2016 15:42:10 +0000 (+0100) Subject: There is no table "sess_data" - this database call is useless X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a2507804f2eab92df5ff721b3c836da5d1ca7461;p=friendica.git There is no table "sess_data" - this database call is useless --- 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; }}