~ubuntu-branches/ubuntu/utopic/moodle/utopic

« back to all changes in this revision

Viewing changes to admin/mnet/access_control.php

  • Committer: Package Import Robot
  • Author(s): Thijs Kinkhorst
  • Date: 2014-05-12 16:10:38 UTC
  • mfrom: (36.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20140512161038-puyqf65k4e0s8ytz
Tags: 2.6.3-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
103
103
        $usernames = explode(',', $form->username);
104
104
 
105
105
        foreach ($usernames as $username) {
106
 
            $username = trim(textlib::strtolower($username));
 
106
            $username = trim(core_text::strtolower($username));
107
107
            if (!empty($username)) {
108
108
                if (mnet_update_sso_access_control($username, $form->mnet_host_id, $form->accessctrl)) {
109
109
                    if ($form->accessctrl == 'allow') {