]> git.mxchange.org Git - friendica.git/commitdiff
There is no table "sess_data" - this database call is useless
authorMichael Vogel <icarus@dabo.de>
Fri, 18 Mar 2016 15:42:10 +0000 (16:42 +0100)
committerMichael Vogel <icarus@dabo.de>
Fri, 18 Mar 2016 15:42:10 +0000 (16:42 +0100)
include/session.php

index 11641d6cea7d2fd056b45167be42bdae2b07cb2c..12551efc42f8d595aae47186596822bdd0c598f8 100644 (file)
@@ -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;
 }}