module UninstallHelper #buga> tohle by melo byt jen docasne reseni (vysoce nekonzistentni) def uninstall_issues(product) stdl_issues = ['no-phone-sync', 'no-outlook-sync'] issues = UninstallIssue.all issues = issues.delete_if {|r| stdl_issues.include?(r.code) } unless product.is_featured? issues.map {|r| [r.display_name, r.id] } end end