Comment code path

This commit is contained in:
Lukas Reschke 2014-12-12 16:45:11 +01:00
parent 202f1215aa
commit dced436a3a

View file

@ -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 = '';
}