aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrancis <francis>2007-09-11 15:21:30 +0000
committerfrancis <francis>2007-09-11 15:21:30 +0000
commit0b6b75b9f5034aae926622fcf2bfd2cc08f34ecc (patch)
tree8031f8fb840861ab902f9f174056d07d7adb79f9
parent8da18792e68c71410e8c6ba31c8eb24bf13a407f (diff)
Remove not working bit.
-rw-r--r--app/controllers/file_request_controller.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/controllers/file_request_controller.rb b/app/controllers/file_request_controller.rb
index b87fc4a9e..d9f22d804 100644
--- a/app/controllers/file_request_controller.rb
+++ b/app/controllers/file_request_controller.rb
@@ -4,7 +4,7 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: file_request_controller.rb,v 1.6 2007-09-11 15:21:16 francis Exp $
+# $Id: file_request_controller.rb,v 1.7 2007-09-11 15:21:30 francis Exp $
class FileRequestController < ApplicationController
def index
@@ -27,7 +27,6 @@ class FileRequestController < ApplicationController
# render create action
rescue ActiveRecord::RecordInvalid => e
@outgoing_message.valid? # force cecking of errors even if info_request fails
- @outgoing_message.errors.full_messages.delete("info_request")
render :action => 'index'
end
end