mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
Removed tabs
This commit is contained in:
parent
bee7ee3815
commit
dabfd0ed85
67 changed files with 8204 additions and 8204 deletions
|
@ -82,9 +82,9 @@
|
|||
}
|
||||
|
||||
require_course_login($course, true, $cm);
|
||||
|
||||
$context = get_context_instance(CONTEXT_MODULE, $cm->id);
|
||||
has_capability('mod/data:readentry', $context->id, true);
|
||||
|
||||
$context = get_context_instance(CONTEXT_MODULE, $cm->id);
|
||||
has_capability('mod/data:readentry', $context->id, true);
|
||||
|
||||
/// If it's hidden then it's don't show anything. :)
|
||||
if (empty($cm->visible) and !has_capability('mod/data:managetemplates', $context->id)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue