]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/user.rb
Allowing flash to do what all other HTTP clients can (well, apart from the bits which...
[rails.git] / app / models / user.rb
index 1e594479728bde84bdad8ae237b368c9820762a2..ae5b0b74f708b5b94ba5fc09242762b904c36955 100644 (file)
@@ -125,10 +125,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}"