Permalink
Browse files

Some fixes.

  • Loading branch information...
1 parent 5dcd254 commit a9ff839bee73feb6dc0e68e12a854ac808b9a85a ethem committed May 26, 2005
Showing with 1 addition and 3 deletions.
  1. +1 −3 enrol/authorize/enrol.php
@@ -79,12 +79,10 @@ function print_entry($course) {
/// Override: check_entry()
function check_entry($form, $course) {
+ global $CFG;
if ($this->zero_cost($course)) {
if (!empty($CFG->enrol_allowinternal)) {
parent::check_entry($form, $course);
- } else {
- print_header();
- notice(get_string("enrolmentnointernal"), $CFG->wwwroot);
}
} else {
$this->cc_submit($form, $course);

0 comments on commit a9ff839

Please sign in to comment.