diff options
author | kinerity <kinerity@yahoo.com> | 2019-08-20 20:01:27 -0400 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-08-22 14:07:45 +0200 |
commit | 54c684051bb603415e2fedb274ad12adac7e1bd4 (patch) | |
tree | 55fdb25ce5214747f184e0d69faea9d3e3d6f050 /phpBB/includes/acp | |
parent | 0f1643374ea1d9ae8ae589a22d5997655bc4ea23 (diff) | |
download | forums-54c684051bb603415e2fedb274ad12adac7e1bd4.tar forums-54c684051bb603415e2fedb274ad12adac7e1bd4.tar.gz forums-54c684051bb603415e2fedb274ad12adac7e1bd4.tar.bz2 forums-54c684051bb603415e2fedb274ad12adac7e1bd4.tar.xz forums-54c684051bb603415e2fedb274ad12adac7e1bd4.zip |
[ticket/16134] Exclude group leaders on group member purge
PHPBB3-16134
Diffstat (limited to 'phpBB/includes/acp')
-rw-r--r-- | phpBB/includes/acp/acp_prune.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/acp/acp_prune.php b/phpBB/includes/acp/acp_prune.php index 3eee4f7922..c5f7789de8 100644 --- a/phpBB/includes/acp/acp_prune.php +++ b/phpBB/includes/acp/acp_prune.php @@ -537,6 +537,7 @@ class acp_prune AND ug.user_id <> ' . ANONYMOUS . ' AND u.user_type <> ' . USER_FOUNDER . ' AND ug.user_pending = 0 + AND ug.group_leader = 0 AND u.user_id = ug.user_id ' . (!empty($user_ids) ? ' AND ' . $db->sql_in_set('ug.user_id', $user_ids) : ''); $result = $db->sql_query($sql); |