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

convert remaining add_to_log() from login/lib.php

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.7
    • 2.6
    • Logging
    • MOODLE_26_STABLE
    • MOODLE_27_STABLE
    • w17_MDL-45203_m27_loginlog
    • Hide

      1/ run phpunit tests
      2/ enable standard logging
      3/ verify the log entry for the following:

      • user changes password through standard UI
      • admin changes password via edit advanced (own and some other user)
      • password reset
      Show
      1/ run phpunit tests 2/ enable standard logging 3/ verify the log entry for the following: user changes password through standard UI admin changes password via edit advanced (own and some other user) password reset

      add_to_log(SITEID, 'user', 'set password', "view.php?id=$user->id&course=" . SITEID, $user->id);

      add_to_log(SITEID, 'user', 'login', "view.php?id=$user->id&course=".SITEID, $user->id, 0, $user->id);

            skodak Petr Skoda
            skodak Petr Skoda
            Ankit Agarwal Ankit Agarwal
            Dan Poltawski Dan Poltawski
            Frédéric Massart Frédéric Massart
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.