summaryrefslogtreecommitdiffstats
path: root/etc/inc/auth.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/auth.inc')
-rw-r--r--etc/inc/auth.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc
index 6a0d941..9ca24b5 100644
--- a/etc/inc/auth.inc
+++ b/etc/inc/auth.inc
@@ -331,7 +331,7 @@ function local_user_del($user) {
global $debug;
/* remove all memberships */
- local_user_get_groups($user);
+ local_user_set_groups($user);
/* delete from pw db */
$cmd = "/usr/sbin/pw userdel {$user['name']}";
OpenPOWER on IntegriCloud