aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/info_request_event.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/info_request_event.rb')
-rw-r--r--app/models/info_request_event.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/models/info_request_event.rb b/app/models/info_request_event.rb
index f4a3849f3..291073273 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.72 2009-02-09 09:51:53 francis Exp $
+# $Id: info_request_event.rb,v 1.73 2009-02-27 22:32:13 francis Exp $
class InfoRequestEvent < ActiveRecord::Base
belongs_to :info_request
@@ -61,6 +61,7 @@ class InfoRequestEvent < ActiveRecord::Base
'successful',
'partially_successful',
'internal_review',
+ 'error_message',
'requires_admin',
'user_withdrawn'
]
@@ -216,6 +217,8 @@ class InfoRequestEvent < ActiveRecord::Base
return "Internal review acknowledgement"
elsif status == 'user_withdrawn'
return "Withdrawn by requester"
+ elsif status == 'error_message'
+ return "Delivery error"
elsif status == 'requires_admin'
return "Unusual response"
end