mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Use is_internal_auth function instead
This commit is contained in:
parent
9197e1472f
commit
1b69867429
@ -370,7 +370,7 @@
|
||||
$userdata = "<font size=+1> </font><a href=\"auth.php\">".get_string("authentication")."</a> - <font size=1>".
|
||||
get_string("adminhelpauthentication")."</font><br />";
|
||||
|
||||
if ($CFG->auth == "email" || $CFG->auth == "none" || $CFG->auth == "manual") {
|
||||
if (is_internal_auth()) {
|
||||
$userdata .= "<font size=+1> </font><a href=\"$CFG->wwwroot/$CFG->admin/user.php?newuser=true\">".
|
||||
get_string("addnewuser")."</a> - <font size=1>".
|
||||
get_string("adminhelpaddnewuser")."</font><br />";
|
||||
|
Loading…
x
Reference in New Issue
Block a user