]> git.mjollnir.org Git - moodle.git/commitdiff
Trivial code shuffle merged
authormoodler <moodler>
Mon, 25 Feb 2008 06:28:47 +0000 (06:28 +0000)
committermoodler <moodler>
Mon, 25 Feb 2008 06:28:47 +0000 (06:28 +0000)
tag/index.php

index 0119472c0eae5a0fd8fb8a05f188dd8642068e89..4a631064d8efc4acf75b0a20f99622b1203cc23b 100644 (file)
@@ -36,11 +36,12 @@ if (($edit != -1) and $PAGE->user_allowed_editing()) {
     $USER->editing = $edit;
 }
 
-$systemcontext   = get_context_instance(CONTEXT_SYSTEM);
 
 $PAGE->print_header();
 
 // Manage all tags links
+$systemcontext   = get_context_instance(CONTEXT_SYSTEM);
+
 if (has_capability('moodle/tag:manage', $systemcontext)) {
     echo '<div class="managelink"><a href="'. $CFG->wwwroot .'/tag/manage.php">'. get_string('managetags', 'tag') .'</a></div>' ;
 }