Changeset 1474
- Timestamp:
- 04/08/08 12:10:26 (8 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
hive/trunk/data_webapp/app/controllers/hc_database_controller.rb
r1473 r1474 66 66 obj_hash = YAML.load(obj_str) 67 67 cid = obj_hash.delete("client_id") 68 69 # The bee needs the CID 68 70 #hid = Client.find(cid).host_id 69 71 client = Client.find(cid) … … 123 125 124 126 # Remove compromise time from fingerprint and use to update related client object 125 c_time = obj_hash.delete("time_at") 127 c_time = obj_hash.delete("time_at") 128 # Bee need the CID 126 129 client = Client.update(obj_hash["client_id"],{:compromise => string_to_microseconds(c_time),:status => "suspicious"}) 127 130
