Use is_internal_auth function instead

This commit is contained in:
moodler 2004-01-11 18:08:10 +00:00
parent 9197e1472f
commit 1b69867429

View File

@ -370,7 +370,7 @@
$userdata = "<font size=+1>&nbsp;</font><a href=\"auth.php\">".get_string("authentication")."</a> - <font size=1>". $userdata = "<font size=+1>&nbsp;</font><a href=\"auth.php\">".get_string("authentication")."</a> - <font size=1>".
get_string("adminhelpauthentication")."</font><br />"; get_string("adminhelpauthentication")."</font><br />";
if ($CFG->auth == "email" || $CFG->auth == "none" || $CFG->auth == "manual") { if (is_internal_auth()) {
$userdata .= "<font size=+1>&nbsp;</font><a href=\"$CFG->wwwroot/$CFG->admin/user.php?newuser=true\">". $userdata .= "<font size=+1>&nbsp;</font><a href=\"$CFG->wwwroot/$CFG->admin/user.php?newuser=true\">".
get_string("addnewuser")."</a> - <font size=1>". get_string("addnewuser")."</a> - <font size=1>".
get_string("adminhelpaddnewuser")."</font><br />"; get_string("adminhelpaddnewuser")."</font><br />";