Skip to content

Commit

Permalink
calendar MDL-19940 Don't require login for site calendar when forcelo…
Browse files Browse the repository at this point in the history
…gin is false
  • Loading branch information
moodler committed Oct 1, 2009
1 parent 7e13493 commit 9b610c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion calendar/view.php
Expand Up @@ -72,7 +72,7 @@
}
$PAGE->set_url($url);

if ($courseid) {
if ($courseid && $courseid != SITEID) {
require_login($courseid);
} else if ($CFG->forcelogin) {
require_login();
Expand Down

0 comments on commit 9b610c9

Please sign in to comment.