Changeset 1353

Show
Ignore:
Timestamp:
03/17/08 13:20:44 (5 months ago)
Author:
kindlund
Message:

Updated API to reflect client migration script usage.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • honeyclient/trunk/lib/HoneyClient/Manager/Database.pm

    r1337 r1353  
    303303} 
    304304 
     305# XXX: Need to comment this further. 
     306sub get_not_deleted_clients { 
     307    $AUTOLOAD = "Database::get_not_deleted_clients"; 
     308    my $obj = shift; 
     309    my $obj_yaml = YAML::XS::Dump(Data::Structure::Util::unbless($obj)); 
     310    # Results from this call are YAML-encoded; need to deserialize them. 
     311    return YAML::XS::Load(_AUTOLOAD($obj_yaml)); 
     312} 
     313 
    305314####################################################################### 
    306315