Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-40914

Replace add_to_log with an event trigger - authentication

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.6
    • Fix Version/s: None
    • Component/s: Authentication
    • Labels:
    • Story Points:
      8
    • Sprint:
      BACKEND Sprint 4

      Description

      Replace the add_to_log calls for the following area, with a call to the get_legacy_logdata function in the event class.

      authentication
      /auth/ldap/auth.php:1739: add_to_log(SITEID, 'user', 'login', "view.php?id=$USER->id&course=".SITEID,
      /auth/shibboleth/index.php:65: add_to_log(SITEID, 'user', 'login', "view.php?id=$USER->id&course=".SITEID, $USER->id, 0, $USER->id);

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              markn Mark Nelson
              Reporter:
              abgreeve Adrian Greeve
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: