mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
Removed tabs
This commit is contained in:
parent
bee7ee3815
commit
dabfd0ed85
67 changed files with 8204 additions and 8204 deletions
|
@ -56,9 +56,9 @@
|
|||
}
|
||||
|
||||
require_course_login($course, true, $cm);
|
||||
$context = get_context_instance(CONTEXT_MODULE, $cm->id);
|
||||
has_capability('mod/data:managetemplates', $context->id, true);
|
||||
/*
|
||||
$context = get_context_instance(CONTEXT_MODULE, $cm->id);
|
||||
has_capability('mod/data:managetemplates', $context->id, true);
|
||||
/*
|
||||
if (!isteacheredit($course->id)){
|
||||
error(get_string('noaccess','data'));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue