diff options
author | francis <francis> | 2009-01-14 16:46:02 +0000 |
---|---|---|
committer | francis <francis> | 2009-01-14 16:46:02 +0000 |
commit | 68296dcfa8014b0751bc6c1e60bd33f8cc2662ec (patch) | |
tree | e958c4ee495a1f023c08456a3dfc5a2d4c09ded0 /app/models/info_request_event.rb | |
parent | 5daaf00f05c3bcf8f83f18c1b40cf449d3ab4427 (diff) |
Option for withdrawn requests.
Diffstat (limited to 'app/models/info_request_event.rb')
-rw-r--r-- | app/models/info_request_event.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/models/info_request_event.rb b/app/models/info_request_event.rb index 7fab7eb14..bbf5bc48a 100644 --- a/app/models/info_request_event.rb +++ b/app/models/info_request_event.rb @@ -21,7 +21,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: info_request_event.rb,v 1.69 2008-11-10 11:25:43 francis Exp $ +# $Id: info_request_event.rb,v 1.70 2009-01-14 16:46:02 francis Exp $ class InfoRequestEvent < ActiveRecord::Base belongs_to :info_request @@ -61,7 +61,8 @@ class InfoRequestEvent < ActiveRecord::Base 'successful', 'partially_successful', 'internal_review', - 'requires_admin' + 'requires_admin', + 'user_withdrawn' ] # Full text search indexing @@ -213,6 +214,8 @@ class InfoRequestEvent < ActiveRecord::Base return "All information sent" elsif status == 'internal_review' return "Internal review acknowledgement" + elsif status == 'user_withdrawn' + return "Withdrawn by requester" elsif status == 'requires_admin' return "Unusual response" end |