Commit bb945d65a016486535f2e8b970e2bba884c046b8

Authored by Larissa Reis
1 parent 8791c34e

stoa-plugin: removes obsolete method human_names

  ActiveRecord::Base#human_name is deprecated on Rails 3, so
  Person#human_names was removed from core. This patch removes its use
  in stoa plugin.
Showing 1 changed file with 0 additions and 2 deletions   Show diff stats
plugins/stoa/lib/stoa_plugin.rb
... ... @@ -2,8 +2,6 @@ require_dependency 'person'
2 2  
3 3 class StoaPlugin < Noosfero::Plugin
4 4  
5   - Person.human_names[:usp_id] = _('USP number')
6   -
7 5 def self.plugin_name
8 6 "Stoa"
9 7 end
... ...