aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/environment.rb1
-rw-r--r--lib/fcgi_fixes.rb10
-rw-r--r--spec/lib/fcgi_fixes_spec.rb14
3 files changed, 0 insertions, 25 deletions
diff --git a/config/environment.rb b/config/environment.rb
index c4351dbd1..8a8ee91e3 100644
--- a/config/environment.rb
+++ b/config/environment.rb
@@ -110,7 +110,6 @@ require 'tmail_extensions.rb'
require 'activesupport_cache_extensions.rb'
require 'public_body_categories.rb'
require 'timezone_fixes.rb'
-require 'fcgi_fixes.rb'
require 'use_spans_for_errors.rb'
require 'make_html_4_compliant.rb'
require 'activerecord_errors_extensions.rb'
diff --git a/lib/fcgi_fixes.rb b/lib/fcgi_fixes.rb
deleted file mode 100644
index 387995a90..000000000
--- a/lib/fcgi_fixes.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-# Changed by mySociety 2008-03-10 to get dynamic FastCGI working.
-# See also http://dev.rubyonrails.org/ticket/5399 - gah!
-
-# Hopefully fixed in later Rails. There is a test in spec/libs/fcgi_handler.rb
-
-require 'railties/lib/fcgi_handler.rb'
-
-# Monkeypatch!
-RailsFCGIHandler::SIGNALS['TERM'] = :exit
-
diff --git a/spec/lib/fcgi_fixes_spec.rb b/spec/lib/fcgi_fixes_spec.rb
deleted file mode 100644
index edc1c9d98..000000000
--- a/spec/lib/fcgi_fixes_spec.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# This is a test of the monkey patches in lib/fcgi_fixes.rb
-
-require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
-
-require 'railties/lib/fcgi_handler.rb'
-
-describe "when doing FastCGI" do
-
- it "should have fixed dynamic FastCGI bug" do
- RailsFCGIHandler::SIGNALS['TERM'].should == :exit
- end
-
-end
-