original_string: function ldap_bulk_insert($username) {
          global $DB, $CFG;
  
          $username = core_text::strtolower($username); // usernames are __always__ lowercase.
          $DB->insert_record_raw('tmp_extuser', array('username'=>$username,
                                                      'mnethostid'=>$CFG->mnet_localhost_id), false, true);
          echo '.';
      }
code: function ldap_bulk_insert($username) {
          global $DB, $CFG;
  
          $username = core_text::strtolower($username); // usernames are __always__ lowercase.
          $DB->insert_record_raw('tmp_extuser', array('username'=>$username,
                                                      'mnethostid'=>$CFG->mnet_localhost_id), false, true);
          echo '.';
      }
code_tokens: function ldap_bulk_insert ( $ username ) { global $ DB , $ CFG ; $ username = core_text :: strtolower ( $ username ) ; // usernames are __always__ lowercase. $ DB -> insert_record_raw ( 'tmp_extuser' , array ( 'username' => $ username , 'mnethostid' => $ CFG -> mnet_localhost_id ) , false , true ) ; echo '.' ; }
docstring: Bulk insert in SQL's temp table
docstring_tokens: Bulk insert in SQL s temp table