Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Slight tweak to remove login button for ordinary users

  • Loading branch information...
commit 15ecde413365fdf52280a83b40be234e192f3c5b 1 parent 53bfe78
martin authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  index.php
2  index.php
@@ -15,7 +15,7 @@
15 15 redirect("$CFG->wwwroot/admin/");
16 16 }
17 17 $headerbutton = update_course_icon($site->id);
18   - } else {
  18 + } else if (!isset($USER->id)) {
19 19 $headerbutton = "<FONT SIZE=2><A HREF=\"login/\">".get_string("login")."</A></FONT>";
20 20 }
21 21 print_header("$site->fullname", "$site->fullname", "", "",

0 comments on commit 15ecde4

Please sign in to comment.
Something went wrong with that request. Please try again.