Changeset 25968


Ignore:
Timestamp:
Dec 16, 2013, 4:09:49 PM (7 years ago)
Author:
plg
Message:

bug 3012 fixed: invalidate_user_cache() on pwg.users.setInfo, pwg.groups.addUser, pwg.groups.deleteUser

Location:
trunk/include/ws_functions
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/ws_functions/pwg.groups.php

    r25281 r25968  
    247247    );
    248248
     249  invalidate_user_cache();
     250
    249251  return $service->invoke('pwg.groups.getList', array('group_id' => $params['group_id']));
    250252}
     
    279281  pwg_query($query);
    280282
     283  invalidate_user_cache();
     284
    281285  return $service->invoke('pwg.groups.getList', array('group_id' => $params['group_id']));
    282286}
  • trunk/include/ws_functions/pwg.users.php

    r25545 r25968  
    336336
    337337  return l10n_dec(
    338         '%d user deleted', '%d users deleted',
    339         count($params['user_id'])
    340         );
     338    '%d user deleted', '%d users deleted',
     339    count($params['user_id'])
     340    );
    341341}
    342342
     
    561561  }
    562562
     563  invalidate_user_cache();
     564
    563565  return $service->invoke('pwg.users.getList', array(
    564566    'user_id' => $params['user_id'],
Note: See TracChangeset for help on using the changeset viewer.