Renamed ExpireSessions.pm to DeleteExpiredSessions.pm

This commit is contained in:
JT Smith 2002-06-20 23:19:30 +00:00
parent 1989685a7c
commit f1410d2472

View file

@ -1,22 +0,0 @@
package Hourly::ExpireSessions;
#-------------------------------------------------------------------
# WebGUI is Copyright 2001-2002 Plain Black Software.
#-------------------------------------------------------------------
# Please read the legal notices (docs/legal.txt) and the license
# (docs/license.txt) that came with this distribution before using
# this software.
#-------------------------------------------------------------------
# http://www.plainblack.com info@plainblack.com
#-------------------------------------------------------------------
use strict;
use WebGUI::SQL;
#-------------------------------------------------------------------
sub process {
WebGUI::SQL->write("delete from userSession where expires<".time(),$_[0]);
}
1;