diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2011-07-06 13:22:45 +0100 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2011-07-06 13:22:45 +0100 |
commit | b172995023ea90bac0bb534f8f185fa435f8aefd (patch) | |
tree | fee15d4f15f3df60f82ae6d4f8a5931bd35c2eeb /app/models/info_request.rb | |
parent | 732b3e5c430a83f72adb44dc621d48edb86f081f (diff) |
Changes required to get selishta (Kosovo) fork merges to pass tests. Includes new "REPLY_LATE_AFTER_DAYS" config option.
Diffstat (limited to 'app/models/info_request.rb')
-rw-r--r-- | app/models/info_request.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/info_request.rb b/app/models/info_request.rb index a36b140b8..b9c39e89d 100644 --- a/app/models/info_request.rb +++ b/app/models/info_request.rb @@ -612,7 +612,8 @@ public # last_event_forming_initial_request. There may be more obscure # things, e.g. fees, not properly covered. def date_response_required_by - return Holiday.due_date_from(self.date_initial_request_last_sent_at, 7) + days_later = MySociety::Config.get('REPLY_LATE_AFTER_DAYS', 20) + return Holiday.due_date_from(self.date_initial_request_last_sent_at, days_later) end # This is a long stop - even with UK public interest test extensions, 40 # days is a very long time. |