Commit 5561410620e144d7fa87835a23e539f9e1b3ab0a

Authored by Francisco Júnior
1 parent fce830c2

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 15 types << DspacePlugin::Library if context.profile.community? && !parent_id
16 16 parent = parent_id ? context.profile.articles.find(parent_id) : nil
17 17 if parent.kind_of?(DspacePlugin::Library)
18   - types << DspacePlugin::Collection
19 18 types << DspacePlugin::Communityy
20 19 elsif parent.kind_of?(DspacePlugin::Communityy)
21 20 types << DspacePlugin::Collection
... ...