From: moodler Date: Mon, 25 Feb 2008 06:28:47 +0000 (+0000) Subject: Trivial code shuffle merged X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=6e0b112f999176ad09d9c430e12ebe3ad71333f4;p=moodle.git Trivial code shuffle merged --- diff --git a/tag/index.php b/tag/index.php index 0119472c0e..4a631064d8 100644 --- a/tag/index.php +++ b/tag/index.php @@ -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 '' ; }