Don't allow adding of users when external authentication is being used.

This commit is contained in:
moodler 2003-06-19 03:00:58 +00:00
parent afcd2e04c6
commit 9dc9273aa9

View File

@ -261,7 +261,9 @@
print_table($table);
print_heading("<A HREF=\"user.php?newuser=true\">".get_string("addnewuser")."</A>");
if ($CFG->auth == "email" || $CFG->auth == "none" || $CFG->auth == "manual"){
print_heading("<A HREF=\"user.php?newuser=true\">".get_string("addnewuser")."</A>");
}
print_footer();
}