aboutsummaryrefslogtreecommitdiffstats
path: root/admin/maintenance.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/maintenance.php9
1 files changed, 2 insertions, 7 deletions
diff --git a/admin/maintenance.php b/admin/maintenance.php
index dcda4f401..0a5c3cd22 100644
--- a/admin/maintenance.php
+++ b/admin/maintenance.php
@@ -71,12 +71,7 @@ DELETE
}
case 'sessions' :
{
- $query = '
-DELETE
- FROM '.SESSIONS_TABLE.'
- WHERE expiration < NOW()
-;';
- pwg_query($query);
+ pwg_session_gc();
break;
}
case 'feeds' :
@@ -113,7 +108,7 @@ $template->assign_vars(
'U_HELP' => PHPWG_ROOT_PATH.'/popuphelp.php?page=maintenance',
)
);
-
+
// +-----------------------------------------------------------------------+
// | sending html code |
// +-----------------------------------------------------------------------+