Permalink
Browse files

Slight tweak to remove login button for ordinary users

  • Loading branch information...
1 parent 53bfe78 commit 15ecde413365fdf52280a83b40be234e192f3c5b martin committed Aug 9, 2002
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.php
View
@@ -15,7 +15,7 @@
redirect("$CFG->wwwroot/admin/");
}
$headerbutton = update_course_icon($site->id);
- } else {
+ } else if (!isset($USER->id)) {
$headerbutton = "<FONT SIZE=2><A HREF=\"login/\">".get_string("login")."</A></FONT>";
}
print_header("$site->fullname", "$site->fullname", "", "",

0 comments on commit 15ecde4

Please sign in to comment.