From 6e0b112f999176ad09d9c430e12ebe3ad71333f4 Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 25 Feb 2008 06:28:47 +0000 Subject: [PATCH] Trivial code shuffle merged --- tag/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 '' ; } -- 2.39.5