diff --git a/app/models/abuse_complaint.rb b/app/models/abuse_complaint.rb index 8c8c3ab..882de5c 100644 --- a/app/models/abuse_complaint.rb +++ b/app/models/abuse_complaint.rb @@ -40,10 +40,6 @@ class AbuseComplaint < Task true end - def reject_details - true - end - def icon {:type => :profile_image, :profile => reported, :url => reported.url} end diff --git a/app/models/approve_article.rb b/app/models/approve_article.rb index 28f477e..fe2722b 100644 --- a/app/models/approve_article.rb +++ b/app/models/approve_article.rb @@ -77,10 +77,6 @@ class ApproveArticle < Task true end - def reject_details - true - end - def default_decision if article 'skip' diff --git a/app/models/approve_comment.rb b/app/models/approve_comment.rb index 035f2dc..a3210e2 100644 --- a/app/models/approve_comment.rb +++ b/app/models/approve_comment.rb @@ -60,10 +60,6 @@ class ApproveComment < Task true end - def reject_details - true - end - def default_decision if article 'skip' diff --git a/app/models/create_community.rb b/app/models/create_community.rb index 214145f..284c343 100644 --- a/app/models/create_community.rb +++ b/app/models/create_community.rb @@ -56,10 +56,6 @@ class CreateCommunity < Task end end - def reject_details - true - end - # tells if this request was rejected def rejected? self.status == Task::Status::CANCELLED diff --git a/app/models/create_enterprise.rb b/app/models/create_enterprise.rb index c79ad54..607a47c 100644 --- a/app/models/create_enterprise.rb +++ b/app/models/create_enterprise.rb @@ -158,10 +158,6 @@ class CreateEnterprise < Task {:message => _('%{requestor} wants to create enterprise %{subject}.')} end - def reject_details - true - end - def task_created_message _('Your request for registering enterprise "%{enterprise}" at %{environment} was just received. It will be reviewed by the validator organization of your choice, according to its methods and criteria. diff --git a/plugins/bsc/lib/bsc_plugin/associate_enterprise.rb b/plugins/bsc/lib/bsc_plugin/associate_enterprise.rb index c0a05de..c03f250 100644 --- a/plugins/bsc/lib/bsc_plugin/associate_enterprise.rb +++ b/plugins/bsc/lib/bsc_plugin/associate_enterprise.rb @@ -23,10 +23,6 @@ class BscPlugin::AssociateEnterprise < Task {:type => :defined_image, :src => src, :name => bsc.name} end - def reject_details - true - end - def perform bsc.enterprises << enterprise end diff --git a/plugins/sub_organizations/lib/sub_organizations_plugin/approve_paternity.rb b/plugins/sub_organizations/lib/sub_organizations_plugin/approve_paternity.rb index e1e28de..a386a2f 100644 --- a/plugins/sub_organizations/lib/sub_organizations_plugin/approve_paternity.rb +++ b/plugins/sub_organizations/lib/sub_organizations_plugin/approve_paternity.rb @@ -28,10 +28,6 @@ class SubOrganizationsPlugin::ApprovePaternity < Task {:message => _('%{requestor} wants to add this organization as a sub-organization of %{linked_subject}.')} end - def reject_details - true - end - def icon {:type => :profile_image, :profile => parent, :url => parent.url} end -- libgit2 0.21.2