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

Moodle cache helper always clean all session data

Details

    Description

                          if ((int)$value['lastaccess'] < $purgetime || true) {
                              $todelete[] = $key;
                          }
      

      https://github.com/moodle/moodle/blob/b8b905cd90f7a1d0db59a70a32d47e015dcfbfea/cache/classes/helper.php

       

      || true will cause to delete all the keys.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rlemaire Renaud Lemaire
              Votes:
              7 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 30 minutes
                  30m

                  Clockify

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