Commit dced436a authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Comment code path

parent 202f1215
......@@ -141,6 +141,7 @@ class UsersController extends Controller {
}
} else {
// Set the $gid parameter to an empty value if the subadmin has no rights to access a specific group
if($gid !== '' && !in_array($gid, \OC_SubAdmin::getSubAdminsGroups($this->userSession->getUser()->getUID()))) {
$gid = '';
}
......
Supports Markdown
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