aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/models/incoming_message.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/models/incoming_message.rb b/app/models/incoming_message.rb
index 17fd6f9cc..750f13423 100644
--- a/app/models/incoming_message.rb
+++ b/app/models/incoming_message.rb
@@ -19,7 +19,7 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: incoming_message.rb,v 1.144 2008-09-04 12:56:06 francis Exp $
+# $Id: incoming_message.rb,v 1.145 2008-09-04 13:00:29 francis Exp $
# TODO
# Move some of the (e.g. quoting) functions here into rblib, as they feel
@@ -326,8 +326,10 @@ class IncomingMessage < ActiveRecord::Base
# Specific removals
# http://www.whatdotheyknow.com/request/total_number_of_objects_in_the_n_6
text.gsub!(/\*\*\*+\nPolly Tucker.*/ms, "")
- # http://localhost:3000/request/cctv_data_retention_and_use
+ # http://www.whatdotheyknow.com/request/cctv_data_retention_and_use
text.gsub!(/Andy 079.*/, "Andy [mobile number]")
+ # http://www.whatdotheyknow.com/request/how_do_the_pct_deal_with_retirin_113
+ text.gsub!(/(Complaints and Corporate Affairs Officer)\s+Westminster Primary Care Trust.+/ms, "\\1")
return text
end