mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Removed tabs
This commit is contained in:
parent
bee7ee3815
commit
dabfd0ed85
67 changed files with 8204 additions and 8204 deletions
|
@ -57,8 +57,8 @@
|
|||
}
|
||||
}
|
||||
|
||||
$context = get_context_instance(CONTEXT_MODULE, $cm->id);
|
||||
has_capability('mod/data:uploadentries', $context->id, true);
|
||||
$context = get_context_instance(CONTEXT_MODULE, $cm->id);
|
||||
has_capability('mod/data:uploadentries', $context->id, true);
|
||||
|
||||
if (has_capability('mod/data:managetemplates', $context->id)) {
|
||||
if (!count_records('data_fields','dataid',$data->id)) { // Brand new database!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue