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

fix broken static cache flush_store()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • 3.0.7, 3.1.3, 3.2
    • Caching
    • None

      Currenlty the static cache store has a flush_store() mechansim.

      However it does unset(self::$staticstore); Which is not allowed in PHP. It results in a Fatal Error.

      The store should be flushed before it's deleted. And this also begins to allow purging of stores to behave correctly where we ask the store to purge itself rather than expecting all of the definitions to work out what is purged and that flow down to the store level.

      See MDL-49149 for the initial part of this discussion.

            mr-russ Russell Smith (Inactive)
            mr-russ Russell Smith (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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