From 1d22950cf6391f1037be9cd35288b36d62ea6fe5 Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 14 Mar 2006 23:52:47 +0000 Subject: fix: help button was not working in the site manager fix: incorrect session deletion in maintenance.php git-svn-id: http://piwigo.org/svn/trunk@1080 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/maintenance.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'admin/maintenance.php') 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 | // +-----------------------------------------------------------------------+ -- cgit v1.2.3