Add extra visibility options for GPS traces, and enhance the API call
[rails.git] / app / models / user.rb
index 9a1106972d63d767c2b2806f3eb5a921d4e1577e..9d135a3a1ae4aa97e14202f9ea0bba1abd61d0e2 100644 (file)
@@ -122,10 +122,6 @@ class User < ActiveRecord::Base
     return false
   end
 
-  def trace_public_default
-    return self.preferences.find(:first, :conditions => {:k => "gps.trace.public", :v => "default"})
-  end
-
   def delete
     self.active = false
     self.display_name = "user_#{self.id}"