diff options
author | francis <francis> | 2008-07-29 11:15:42 +0000 |
---|---|---|
committer | francis <francis> | 2008-07-29 11:15:42 +0000 |
commit | 3f2f0326ff6397f4e7690f53ba275ee51f8de599 (patch) | |
tree | cba8176e0af1c6284bf1b1075754a3e8b9e31264 | |
parent | 5059b562f1d002ede63013a116ae713316475295 (diff) |
Remove a mobile number
-rw-r--r-- | app/models/incoming_message.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/models/incoming_message.rb b/app/models/incoming_message.rb index abbf6971e..b2237d6a1 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.125 2008-07-28 13:24:10 francis Exp $ +# $Id: incoming_message.rb,v 1.126 2008-07-29 11:15:42 francis Exp $ # TODO # Move some of the (e.g. quoting) functions here into rblib, as they feel @@ -263,6 +263,8 @@ 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 + text.gsub!(/Andy 079.*/, "Andy [mobile number]") return text end |