diff options
author | francis <francis> | 2008-08-09 00:37:48 +0000 |
---|---|---|
committer | francis <francis> | 2008-08-09 00:37:48 +0000 |
commit | 1ff4b7865ee77453ddc9ef6b4af978e267292dea (patch) | |
tree | 0cada9578d1a02c6ab8f64ba944c358994c1c24f | |
parent | b7a5d2e6708b684c092485ed28c4ae02e4ee3cf2 (diff) |
Remove unused function.
-rw-r--r-- | app/models/track_thing.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/app/models/track_thing.rb b/app/models/track_thing.rb index e3af8fe16..62242c182 100644 --- a/app/models/track_thing.rb +++ b/app/models/track_thing.rb @@ -21,7 +21,7 @@ # Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: track_thing.rb,v 1.31 2008-08-09 00:25:28 francis Exp $ +# $Id: track_thing.rb,v 1.32 2008-08-09 00:37:48 francis Exp $ class TrackThing < ActiveRecord::Base belongs_to :tracking_user, :class_name => 'User' @@ -222,12 +222,6 @@ class TrackThing < ActiveRecord::Base end return TrackThing.find(:first, :conditions => [ 'tracking_user_id = ? and track_query = ? and track_type = ?', tracking_user.id, track.track_query, track.track_type ] ) end - - # List of people tracking same thing - def TrackThing.find_tracking_people(track) - return TrackThing.find(:all, :conditions => [ 'track_query = ? and track_type = ?', track.track_query, track.track_type ]).map { |t| t.tracking_user } - end - end |