aboutsummaryrefslogtreecommitdiffstats
path: root/include/session.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-08-24 16:05:51 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-08-24 16:05:51 -0700
commit0edac8810b702ee4a8b8aeef18003d5549c1ac0d (patch)
treed554ecfdd1abb42169dea3fe178a649672727f20 /include/session.php
parentb085a3243c8369a817f828d1064bec1b98ae18f0 (diff)
downloadvolse-hubzilla-0edac8810b702ee4a8b8aeef18003d5549c1ac0d.tar.gz
volse-hubzilla-0edac8810b702ee4a8b8aeef18003d5549c1ac0d.tar.bz2
volse-hubzilla-0edac8810b702ee4a8b8aeef18003d5549c1ac0d.zip
don't try to optimise the session table. Just let it fragment and let the DB worry about it.
Diffstat (limited to 'include/session.php')
-rw-r--r--include/session.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/session.php b/include/session.php
index 31b3f0614..92004bc18 100644
--- a/include/session.php
+++ b/include/session.php
@@ -98,9 +98,6 @@ function ref_session_destroy ($id) {
function ref_session_gc($expire) {
q("DELETE FROM session WHERE expire < %d", dbesc(time()));
- if (! get_config('system', 'innodb'))
- db_optimizetable('session');
-
return true;
}