Land #3128, Put loot in correct workspace

bug/bundler_fix
David Maloney 2014-03-20 14:11:17 -05:00
commit c4a9b4fda0
No known key found for this signature in database
GPG Key ID: DEDBA9DC3A913DB2
1 changed files with 6 additions and 15 deletions

View File

@ -2098,19 +2098,10 @@ class DBManager
loot.data = data loot.data = data
loot.name = name if name loot.name = name if name
loot.info = info if info loot.info = info if info
loot.workspace = wspace
msf_import_timestamps(opts,loot) msf_import_timestamps(opts,loot)
loot.save! loot.save!
if !opts[:created_at]
=begin
if host
host.updated_at = host.created_at
host.state = HostState::Alive
host.save!
end
=end
end
ret[:loot] = loot ret[:loot] = loot
} }
end end