Skip to content
Snippets Groups Projects
Commit 20ac748f authored by Elmar Ludwig's avatar Elmar Ludwig
Browse files

Revert "fix #937"

This reverts commit b76d2a7a.
parent bcafbf91
No related branches found
No related tags found
No related merge requests found
......@@ -93,10 +93,6 @@ class Authority
return false;
}
if ($structural_element->range_type === 'user') {
return $structural_element->range_id === $user->id;
}
$perm = $GLOBALS['perm']->have_studip_perm(
$structural_element->course->config->COURSEWARE_EDITING_PERMISSION,
$structural_element->course->id,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment