Moodle
  1. Moodle
  2. MDL-32664

Use base enrollib for logging enrolments instead of different screens

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.1, 2.2
    • Fix Version/s: BACKEND
    • Component/s: Enrolments, Logging
    • Labels:
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Epic Link:
    • Rank:
      39607

      Description

      At the moment, we're using a different system to enrol new users via the manual enrolment method.
      This creates a problem. The enrol log entry will only be created if someone is manually managing the enrolments for a course.

      Please move the add_to_log from /enrol/manual/manage.php to /lib/enrollib.php in class enrol_plugin function enrol_user.
      This might also be valid for unenrolments.

      The effect this will have is people using automated systems to enrol users, will actually have logs .

        Activity

        Hide
        Petr Škoda added a comment -

        thanks for the report

        Show
        Petr Škoda added a comment - thanks for the report

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: