diff options
author | francis <francis> | 2008-09-04 13:00:29 +0000 |
---|---|---|
committer | francis <francis> | 2008-09-04 13:00:29 +0000 |
commit | b1cb2dc3939bb96700bc78fcaec277670fda4721 (patch) | |
tree | 004427a6e684420b1cd849b33453c1576cc155d9 | |
parent | 94316d2b0c960b76752ccfde3f151444b7c43597 (diff) |
Privacy.
-rw-r--r-- | app/models/incoming_message.rb | 6 |
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 |