Changeset 1474

Show
Ignore:
Timestamp:
04/08/08 12:10:26 (8 months ago)
Author:
dbryson
Message:

more bee changes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • hive/trunk/data_webapp/app/controllers/hc_database_controller.rb

    r1473 r1474  
    6666    obj_hash = YAML.load(obj_str) 
    6767    cid = obj_hash.delete("client_id") 
     68     
     69    # The bee needs the CID 
    6870    #hid = Client.find(cid).host_id 
    6971    client = Client.find(cid) 
     
    123125     
    124126    # 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     
    126129    client = Client.update(obj_hash["client_id"],{:compromise => string_to_microseconds(c_time),:status => "suspicious"}) 
    127130