Skip to content

Commit

Permalink
Merge pull request #2008 from europ/useless-comments
Browse files Browse the repository at this point in the history
Remove useless comments
  • Loading branch information
mzazrivec committed Aug 28, 2017
2 parents 7bf81fa + d1e2987 commit d5839e9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
9 changes: 0 additions & 9 deletions app/controllers/report_controller/widgets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -585,15 +585,6 @@ def widget_set_record_vars(widget)
widget.enabled = @edit[:new][:enabled]
widget.options ||= {}
widget.options[:row_count] = widget.row_count(@edit[:new][:row_count]) if %w(r rf).include?(@sb[:wtype])
# if @sb[:wtype] == "m"
# widget.miq_shortcuts = @edit[:new][:shortcuts].keys.collect{|s| MiqShortcut.find_by_id(s)}
# ws = Array.new # Create an array of widget shortcuts
# @edit[:new][:shortcuts].keys.each_with_index do |s_id, s_idx|
# sc = MiqShortcut.find_by_id(s_id)
# ws.push(MiqWidgetShortcut.new(:sequence=>s_idx, :description=>@edit[:new][:shortcuts][s_id], :miq_shortcut=>sc))
# end
# widget.miq_widget_shortcuts = ws
# end
if @sb[:wtype] == "rf"
widget.set_rss_properties(@edit[:new][:feed_type], @edit[:new][:rss_feed_id], @edit[:new][:url])
else
Expand Down
1 change: 0 additions & 1 deletion app/helpers/ui_constants.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
module UiConstants
# dac - Changed to allow up to 255 characters for all text fields on 1/11/07

# Report Controller constants
NOTHING_STRING = "<<< Nothing >>>"
Expand Down

0 comments on commit d5839e9

Please sign in to comment.