MINOR Code syntax formatting and removal of useless comment

This commit is contained in:
Sean Harvey 2008-09-20 09:31:44 +00:00
parent 0512155cbe
commit c97022314f

View File

@ -16,7 +16,6 @@ class MultiFormPurgeTask extends DailyTask {
* Days after which sessions expire and * Days after which sessions expire and
* are automatically deleted. * are automatically deleted.
* *
* @usedby {@link MultiFormPurgeTask}
* @var int * @var int
*/ */
public static $session_expiry_days = 7; public static $session_expiry_days = 7;
@ -46,7 +45,8 @@ class MultiFormPurgeTask extends DailyTask {
protected function getExpiredSessions() { protected function getExpiredSessions() {
return DataObject::get( return DataObject::get(
'MultiFormSession', 'MultiFormSession',
"DATEDIFF(NOW(), `MultiFormSession`.`Created`) > " . self::$session_expiry_days); "DATEDIFF(NOW(), `MultiFormSession`.`Created`) > " . self::$session_expiry_days
);
} }
} }