Permalink
Browse files

MDL-9314 : typo of $access / $accessctrl

  • Loading branch information...
donal72
donal72 committed Aug 3, 2007
1 parent 27a78fc commit 39bf0df2283d2a7da6a0fedf28453e8af025a3d1
Showing with 2 additions and 2 deletions.
  1. +2 −2 mnet/lib.php
View
@@ -470,7 +470,7 @@ function mnet_update_sso_access_control($username, $mnet_host_id, $accessctrl) {
$aclrecord->accessctrl = $accessctrl;
if (update_record('mnet_sso_access_control', $aclrecord)) {
add_to_log(SITEID, 'admin/mnet', 'update', 'admin/mnet/access_control.php',
- "SSO ACL: $access user '$username' from {$mnethost->name}");
+ "SSO ACL: $accessctrl user '$username' from {$mnethost->name}");
} else {
error(get_string('failedaclwrite','mnet', $username));
return false;
@@ -482,7 +482,7 @@ function mnet_update_sso_access_control($username, $mnet_host_id, $accessctrl) {
$aclrecord->mnet_host_id = $mnet_host_id;
if ($id = insert_record('mnet_sso_access_control', $aclrecord)) {
add_to_log(SITEID, 'admin/mnet', 'add', 'admin/mnet/access_control.php',
- "SSO ACL: $access user '$username' from {$mnethost->name}");
+ "SSO ACL: $accessctrl user '$username' from {$mnethost->name}");
} else {
error(get_string('failedaclwrite','mnet', $username));
return false;

0 comments on commit 39bf0df

Please sign in to comment.