Skip to content
  • jun's avatar
    MDL-64958 grade_import: Ensure correct user is being fetched · d45f0f0c
    jun authored
    * We need to ensure that we are checking the correct user account.
      Since email and idnumber are not unique fields, there's a chance that
      multiple user records will match when querying for user data using
      these fields. This might lead to a different user's grades being
      inadvertently modified during grade import. In such a case, this
      function needs to return a null userid.
    d45f0f0c