Skip to content

Commit

Permalink
MDL-12065, do not force parents to enrol in student courses
Browse files Browse the repository at this point in the history
  • Loading branch information
toyomoyo committed Nov 9, 2007
1 parent d4833f2 commit 2b2cdcd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion course/user.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
error("Course id is incorrect.");
}

require_login($course);
//require_login($course);
$COURSE = clone($course);

if (! $user = get_record("user", "id", $user)) {
error("User ID is incorrect");
Expand Down

0 comments on commit 2b2cdcd

Please sign in to comment.