From: martin Date: Fri, 9 Aug 2002 02:48:25 +0000 (+0000) Subject: Slight tweak to remove login button for ordinary users X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=15ecde413365fdf52280a83b40be234e192f3c5b;p=moodle.git Slight tweak to remove login button for ordinary users --- diff --git a/index.php b/index.php index f006657b58..881c48ed21 100644 --- a/index.php +++ b/index.php @@ -15,7 +15,7 @@ redirect("$CFG->wwwroot/admin/"); } $headerbutton = update_course_icon($site->id); - } else { + } else if (!isset($USER->id)) { $headerbutton = "".get_string("login").""; } print_header("$site->fullname", "$site->fullname", "", "",