Commit 8ad27fbe authored by Franco Fichtner's avatar Franco Fichtner

system: all user group no longer exists #1733

parent 69510a5f
......@@ -335,17 +335,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
$a_user[$id] = $userent;
} else {
$userent['uid'] = $config['system']['nextuid']++;
/* Add the user to All Users group. */
foreach ($config['system']['group'] as $gidx => $group) {
if ($group['name'] == "all") {
if (!is_array($config['system']['group'][$gidx]['member'])) {
$config['system']['group'][$gidx]['member'] = array();
}
$config['system']['group'][$gidx]['member'][] = $userent['uid'];
break;
}
}
$a_user[] = $userent;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment