aboutsummaryrefslogtreecommitdiffstats
path: root/include/session.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-05-06 02:17:20 -0700
committerfriendica <info@friendica.com>2013-05-06 02:17:20 -0700
commitdc028ce8ba37aa80c05ade1f2d36371c41457671 (patch)
tree0f43fa9939185bdfee50ade5a181bf885b80ca30 /include/session.php
parent524f205caa1fc95371acaed95c4af12ec4dd7745 (diff)
downloadvolse-hubzilla-dc028ce8ba37aa80c05ade1f2d36371c41457671.tar.gz
volse-hubzilla-dc028ce8ba37aa80c05ade1f2d36371c41457671.tar.bz2
volse-hubzilla-dc028ce8ba37aa80c05ade1f2d36371c41457671.zip
fixes
Diffstat (limited to 'include/session.php')
-rw-r--r--include/session.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/session.php b/include/session.php
index a8c466450..cdf5afbb0 100644
--- a/include/session.php
+++ b/include/session.php
@@ -59,8 +59,8 @@ function ref_session_destroy ($id) {
function ref_session_gc($expire) {
- q("DELETE FROM `session` WHERE `expire` < %d", dbesc(time()));
- q("OPTIMIZE TABLE `sess_data`");
+ q("DELETE FROM session WHERE expire < %d", dbesc(time()));
+ q("OPTIMIZE TABLE session");
return true;
}