From: moodler Date: Thu, 19 Jun 2003 03:00:58 +0000 (+0000) Subject: Don't allow adding of users when external authentication is being used. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9dc9273aa95ac7f67c93fbe104b655ea7f34c7fc;p=moodle.git Don't allow adding of users when external authentication is being used. --- diff --git a/admin/user.php b/admin/user.php index efa8c4bd0f..dcb943100e 100644 --- a/admin/user.php +++ b/admin/user.php @@ -261,7 +261,9 @@ print_table($table); - print_heading("".get_string("addnewuser").""); + if ($CFG->auth == "email" || $CFG->auth == "none" || $CFG->auth == "manual"){ + print_heading("".get_string("addnewuser").""); + } print_footer(); }