Commit bb945d65a016486535f2e8b970e2bba884c046b8
1 parent
8791c34e
Exists in
master
and in
29 other branches
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,8 +2,6 @@ require_dependency 'person' | ||
2 | 2 | ||
3 | class StoaPlugin < Noosfero::Plugin | 3 | class StoaPlugin < Noosfero::Plugin |
4 | 4 | ||
5 | - Person.human_names[:usp_id] = _('USP number') | ||
6 | - | ||
7 | def self.plugin_name | 5 | def self.plugin_name |
8 | "Stoa" | 6 | "Stoa" |
9 | end | 7 | end |