mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 17:02:03 +02:00
MDL19901 fix typeo
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
This commit is contained in:
parent
54887f8b29
commit
81e2ef2e26
@ -250,7 +250,7 @@
|
||||
// for remote users, shuffle columns around and display MNET stuff
|
||||
if (is_mnet_remote_user($user)) {
|
||||
$accessctrl = 'allow';
|
||||
if ($acl = $DF->get_record('mnet_sso_access_control', array('username'=>$user->username, 'mnet_host_id'=>$user->mnethostid))) {
|
||||
if ($acl = $DB->get_record('mnet_sso_access_control', array('username'=>$user->username, 'mnet_host_id'=>$user->mnethostid))) {
|
||||
$accessctrl = $acl->accessctrl;
|
||||
}
|
||||
$changeaccessto = ($accessctrl == 'deny' ? 'allow' : 'deny');
|
||||
|
Loading…
x
Reference in New Issue
Block a user