Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-11604 cron execution, review, fix and improve
  3. MDL-11660

Deleting user_lastaccess when deleting/resetting/manual unerolling from course

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.9
    • 1.9
    • Course
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

      Not directly related with cron, but detectez while monitoring it.

      Petr has detected that on course deletion, records aren't deleted from the user_lastaccess table. Fixing includes:

      • delete such records in the delete_course() function
      • delete such records if necessary in reset_course()
      • delete when one user auto unenrol from one course?
      • as part of the upgrade, delete all records belonging to nonexistent courses.

      Call this the ORPHAN_BY_COURSE_DELETE_PROBLEM.

            skodak Petr Skoda
            stronk7 Eloy Lafuente (stronk7)
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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