mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 09:34:39 +00:00
revert previous fix in src/etc/inc/auth.inc
This commit is contained in:
parent
f42485928a
commit
c56e115e52
@ -253,7 +253,6 @@ function get_user_privileges(& $user) {
|
||||
$privs = $user['priv'];
|
||||
if (!is_array($privs)) {
|
||||
$privs = array();
|
||||
$privs[] = $user['priv'];
|
||||
}
|
||||
|
||||
$names = local_user_get_groups($user, true);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user