Changeset 1262


Ignore:
Timestamp:
11/05/14 12:52:54 (10 years ago)
Author:
nanardon
Message:

fix sync/rename_object()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/lib/LATMOS/Accounts/SynchAccess/base.pm

    r1261 r1262  
    102102 
    103103sub rename_object { 
    104     my ($self, $otype, $uid) = @_; 
     104    my ($self, $otype, $uid, $newuid) = @_; 
    105105    foreach ($self->bases) { 
    106106        if ($_->is_supported_object($otype)) { 
    107             $_->rename_object($otype, $uid) or do { 
     107            $_->rename_object($otype, $uid, $newuid) or do { 
    108108                la_log(LA_ERR, 
    109109                    "Cannot get object $otype/$uid in %s/%s", 
     
    115115        } 
    116116    } 
     117    return 1; 
    117118} 
    118119 
Note: See TracChangeset for help on using the changeset viewer.