Removed tabs

This commit is contained in:
moodler 2006-08-09 13:45:49 +00:00
parent bee7ee3815
commit dabfd0ed85
67 changed files with 8204 additions and 8204 deletions

View file

@ -18,7 +18,7 @@
if (! $cm = get_coursemodule_from_id('glossary', $id)) {
error("Course Module ID was incorrect");
}
if (! $course = get_record("course", "id", $cm->course)) {
error("Course is misconfigured");
}
@ -27,10 +27,10 @@
error("Course module is incorrect");
}
require_login($course->id, false);
$context = get_context_instance(CONTEXT_MODULE, $cm->id);
has_capability('mod/glossary:import', $context->id, true);
require_login($course->id, false);
$context = get_context_instance(CONTEXT_MODULE, $cm->id);
has_capability('mod/glossary:import', $context->id, true);
if ($dest != 'new' and $dest != 'current') {
$dest = 'current';