Commit acd7af5d56127c91e2768847770adb49ce0f32ca

Authored by Arthur Esposte
1 parent 7373dc10

Remove trash code in profile_editor_extras hotspot

Showing 1 changed file with 0 additions and 3 deletions   Show diff stats
lib/mpog_software_plugin.rb
@@ -56,9 +56,6 @@ class MpogSoftwarePlugin < Noosfero::Plugin @@ -56,9 +56,6 @@ class MpogSoftwarePlugin < Noosfero::Plugin
56 def profile_editor_extras 56 def profile_editor_extras
57 if context.profile.person? 57 if context.profile.person?
58 expanded_template('person_editor_extras.html.erb') 58 expanded_template('person_editor_extras.html.erb')
59 - elsif context.profile.respond_to? :institution and !context.profile.institution.nil?  
60 - @show_sisp_field = show_sisp_field  
61 - expanded_template('institution_editor_extras.html.erb')  
62 elsif context.profile.respond_to? :software_info and !context.profile.software_info.nil? 59 elsif context.profile.respond_to? :software_info and !context.profile.software_info.nil?
63 if context.profile.software_info.first_edit? 60 if context.profile.software_info.first_edit?
64 context.profile.software_info.first_edit = false 61 context.profile.software_info.first_edit = false