Moodle
  1. Moodle
  2. MDL-26409

Apply some defaults on user creation by various methods...

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.0.1
    • Fix Version/s: None
    • Component/s: Authentication, Libraries
    • Labels:
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE
    • Rank:
      16002

      Description

      While reviewing PULL-313 (aka, MDL-25778) it has been detected that:

      $CFG->country

      isn't used and applied in the next scripts:

      • admin/uploaduser.php
      • auth/db/auth.php
      • auth/ldap/auth.php

      and it seems that only manual creation takes it into account (user/edit.php).

      So perhaps we should check what happens with "country" and also other defaults (department, institution...and so on) in all those scripts.

      Ciao

      PS: Note I haven't looked at it exhaustively at all, just looked around the newly introduced "$CFG->citydefault" code and didn't find it's country counterpart.

        Issue Links

          Activity

            People

            • Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: