From 69d48f000edb87002440025534cf7007e86f0970 Mon Sep 17 00:00:00 2001 From: George Vinogradov Date: Thu, 5 Jul 2012 11:36:18 +0400 Subject: [PATCH] [issue #428] Removed commented code. --- app/controllers/advisories_controller.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/controllers/advisories_controller.rb b/app/controllers/advisories_controller.rb index 8c7e6f0c4..ee1adf6f2 100644 --- a/app/controllers/advisories_controller.rb +++ b/app/controllers/advisories_controller.rb @@ -27,10 +27,6 @@ class AdvisoriesController < ApplicationController @packages_info[build_list.save_to_platform].merge!(h) do |pr, old, new| {:srpm => new[:srpm], :rpm => old[:rpm].concat(new[:rpm]).uniq} end - -# h = { build_list.project => build_list.packages } -# # FIXME Maybe memory leak... -# @packages_info[build_list.save_to_platform].merge!(h) { |pr, old, new| (old + new).compact.uniq } end end end