diff options
Diffstat (limited to '')
-rw-r--r-- | include/ws_functions/pwg.users.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/ws_functions/pwg.users.php b/include/ws_functions/pwg.users.php index c63284d3e..eb8b14bb0 100644 --- a/include/ws_functions/pwg.users.php +++ b/include/ws_functions/pwg.users.php @@ -335,9 +335,9 @@ function ws_users_delete($params, &$service) } return l10n_dec( - '%d user deleted', '%d users deleted', - count($params['user_id']) - ); + '%d user deleted', '%d users deleted', + count($params['user_id']) + ); } /** @@ -560,6 +560,8 @@ SELECT } } + invalidate_user_cache(); + return $service->invoke('pwg.users.getList', array( 'user_id' => $params['user_id'], 'display' => 'basics,'.implode(',', array_keys($updates_infos)), |