removing some commented code

bug/bundler_fix
darkbushido 2016-12-02 10:56:42 -06:00
parent 486f8cd2a3
commit 889de05af4
1 changed files with 1 additions and 7 deletions

View File

@ -243,12 +243,6 @@ module Msf::DBManager::ModuleCache
@types << formatted_values
end
end
# unioned_conditions = union_conditions.inject { |union, condition|
# union.or(condition)
# }
#
# @query = @query.where(unioned_conditions).to_a.uniq { |m| m.fullname }
end
@query = @query.module_arch( @archs.to_a.flatten ) if @archs.any?
@ -259,7 +253,7 @@ module Msf::DBManager::ModuleCache
@query = @query.module_type( @types.to_a.flatten ) if @types.any?
@query = @query.module_stance( @stances.to_a.flatten ) if @stances.any?
@query = @query.module_ref( @refs.to_a.flatten ) if @refs.any?
@query.uniq
end