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

Typo in cache_store::supports_native_ttl prevents it from returning the correct value.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.4
    • 2.4
    • Caching
    • Microsoft SQL
    • MOODLE_24_STABLE
    • MOODLE_24_STABLE
    • wip-MDL-36937-m24
    • Hide
      1. Log in as an admin
      2. Browse to settings > plugins > caching > configuration
      3. Add an instance of either memcache stores.
      4. Check when the instance is shown under store instance summaries that it has "ttl" in its supports list.
      Show
      Log in as an admin Browse to settings > plugins > caching > configuration Add an instance of either memcache stores. Check when the instance is shown under store instance summaries that it has "ttl" in its supports list.

      return $this::supports_data_guarantee() & self::SUPPORTS_NATIVE_TTL;

      is just plain wrong, should be:

      return $this::get_supported_features() & self::SUPPORTS_NATIVE_TTL;

            samhemelryk Sam Hemelryk
            samhemelryk Sam Hemelryk
            Dan Poltawski Dan Poltawski
            Dan Poltawski Dan Poltawski
            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.