Archive: ComponentOwl Rails app, DB backups, go redirect script
This commit is contained in:
10
app/helpers/uninstall_helper.rb
Normal file
10
app/helpers/uninstall_helper.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
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
|
||||
Reference in New Issue
Block a user