Commit 78a3f12ba23dbe8eefc32a587122486709454071
Committed by
Daniela Feitosa
1 parent
5e5a69a9
Exists in
master
and in
23 other branches
Removing unecessary display_name methods
(ActionItem1853)
Showing
2 changed files
with
0 additions
and
8 deletions
Show diff stats
app/models/community.rb
| @@ -39,10 +39,6 @@ class Community < Organization | @@ -39,10 +39,6 @@ class Community < Organization | ||
| 39 | end | 39 | end |
| 40 | end | 40 | end |
| 41 | 41 | ||
| 42 | - def display_name | ||
| 43 | - self.name | ||
| 44 | - end | ||
| 45 | - | ||
| 46 | def active_fields | 42 | def active_fields |
| 47 | environment ? environment.active_community_fields : [] | 43 | environment ? environment.active_community_fields : [] |
| 48 | end | 44 | end |
app/models/create_community.rb
| @@ -74,10 +74,6 @@ class CreateCommunity < Task | @@ -74,10 +74,6 @@ class CreateCommunity < Task | ||
| 74 | true | 74 | true |
| 75 | end | 75 | end |
| 76 | 76 | ||
| 77 | - def display_name | ||
| 78 | - self.name | ||
| 79 | - end | ||
| 80 | - | ||
| 81 | # tells if this request was rejected | 77 | # tells if this request was rejected |
| 82 | def rejected? | 78 | def rejected? |
| 83 | self.status == Task::Status::CANCELLED | 79 | self.status == Task::Status::CANCELLED |