Commit 5561410620e144d7fa87835a23e539f9e1b3ab0a
1 parent
fce830c2
Exists in
staging
and in
4 other branches
dspace_plugin : remove content type 'collection' below library
Showing
1 changed file
with
0 additions
and
1 deletions
Show diff stats
plugins/dspace/lib/dspace_plugin.rb
@@ -15,7 +15,6 @@ class DspacePlugin < Noosfero::Plugin | @@ -15,7 +15,6 @@ class DspacePlugin < Noosfero::Plugin | ||
15 | types << DspacePlugin::Library if context.profile.community? && !parent_id | 15 | types << DspacePlugin::Library if context.profile.community? && !parent_id |
16 | parent = parent_id ? context.profile.articles.find(parent_id) : nil | 16 | parent = parent_id ? context.profile.articles.find(parent_id) : nil |
17 | if parent.kind_of?(DspacePlugin::Library) | 17 | if parent.kind_of?(DspacePlugin::Library) |
18 | - types << DspacePlugin::Collection | ||
19 | types << DspacePlugin::Communityy | 18 | types << DspacePlugin::Communityy |
20 | elsif parent.kind_of?(DspacePlugin::Communityy) | 19 | elsif parent.kind_of?(DspacePlugin::Communityy) |
21 | types << DspacePlugin::Collection | 20 | types << DspacePlugin::Collection |