]> source.dussan.org Git - redmine.git/commitdiff
Merged r4076 from trunk.
authorEric Davis <edavis@littlestreamsoftware.com>
Mon, 20 Sep 2010 04:05:20 +0000 (04:05 +0000)
committerEric Davis <edavis@littlestreamsoftware.com>
Mon, 20 Sep 2010 04:05:20 +0000 (04:05 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.0-stable@4141 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/principal.rb

index 58c3f0497a0d2440b1728652f0a92f1457c00acb..b3e07dda5bffdca9edb6e34fb28c87939f8f8b7f 100644 (file)
@@ -33,7 +33,11 @@ class Principal < ActiveRecord::Base
   }
   
   before_create :set_default_empty_values
-  
+
+  def name(formatter = nil)
+    to_s
+  end
+
   def <=>(principal)
     if self.class.name == principal.class.name
       self.to_s.downcase <=> principal.to_s.downcase