Very temporary workaround for LP 978287, which affects TADL on every
SIP checkin, since every SIP checkin is being backdated in our
environment.
A more elegant solution to be backported from master when it is
ready. For now, we use this workaround and try to avoid incorrect
overdue fines being generated this weekend.
Signed-off-by: Jeff Godin <jgodin@tadl.org>
if($return_date) {
# SIP date format is YYYYMMDD. Translate to ISO8601
$return_date =~ s/(\d{4})(\d{2})(\d{2}).*/$1-$2-$3/;
- syslog('LOG_INFO', "Checking in with backdate $return_date");
- $args->{backdate} = $return_date;
+ #syslog('LOG_INFO', "Checking in with backdate $return_date");
+ #$args->{backdate} = $return_date;
+ syslog('LOG_INFO', "TADL: IGNORING SIP backdate $return_date");
}
if($current_loc) { # SIP client specified a physical location