|
Date: 3/24/2007 4:12 pm · Subject: Clear Login History period is calculated 24 times longer if it is set in months · Rating: -1
Hi guys, I noticed that my login history nevertheless is set to 3 months (90 days) in AdminBar->Workflow->Weekly Maintenance Tasks->Delete login entries older than 90 days has an enties more than one year old (the time we have installed WebGUI). it seems that the conversion from days to seconds is performed twice. Once when it is set in the database table WorkflowActivityData, where I see 3 months (90 days) in seconds and secondly when this information is taken from the database when the sub execute is executed from the package "WebGUI::Workflow::Activity::CleanLoginHistory" when the Scheduled task is performed: $self->session->db->write("delete from userLoginLog where timeStamp < ?", [(time()-(86400*$self->get("ageToDelete")))]); Todor Kouyoumdjiev ECoCoMS Ltd. www.ecocoms.com
|