bugfix [ 938211 ] FIX: DeleteExpiredEvents.pm ignores offset
This commit is contained in:
parent
32e93292bb
commit
e519054234
2 changed files with 2 additions and 1 deletions
|
|
@ -14,6 +14,7 @@
|
||||||
- Bugfix [ 949923 ] Collateral changes owner when editing
|
- Bugfix [ 949923 ] Collateral changes owner when editing
|
||||||
- Bugfix [ 949923 ] Collateral changes owner when editing
|
- Bugfix [ 949923 ] Collateral changes owner when editing
|
||||||
- Bugfix [ 948050 ] Correct email address not accepted (fix)
|
- Bugfix [ 948050 ] Correct email address not accepted (fix)
|
||||||
|
- Bugfix [ 938211 ] FIX: DeleteExpiredEvents.pm ignores offset
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ use WebGUI::SQL;
|
||||||
sub process {
|
sub process {
|
||||||
if ($session{config}{DeleteExpiredEvents_offset} ne "") {
|
if ($session{config}{DeleteExpiredEvents_offset} ne "") {
|
||||||
WebGUI::SQL->write("delete from EventsCalendar_event where endDate < "
|
WebGUI::SQL->write("delete from EventsCalendar_event where endDate < "
|
||||||
.(time()-(86400*$session{config}{DeleteExpiredEvents}{offset})));
|
.(time()-(86400*$session{config}{DeleteExpiredEvents_offset})));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue