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

Remove the legacy theme settings enabledevicedetection and devicedetectregex

    XMLWordPrintable

Details

    • MOODLE_403_STABLE
    • MOODLE_403_STABLE
    • MDL-78468-master
    • Hide

      This patch will attempt to remove two theme settings, "Enable device detection" (enabledevicedetection) and "Device detection regular expressions" (devicedetectregex)

      Before the patch
      1. Check out and install a fresh Moodle instance based on the last weekly release.
      2. Go to Site administration -> Appearance -> Theme settings
      3. Tick the enabledevicedetection theme setting.
      4. Specify the devicedetectregex theme setting with any value. Make sure to fill in both inputs.
      5. With a DB editor, run a query on the config table to fetch the records for the 'enabledevicedetection' and 'devicedetectregex' config settings. e.g.

        SELECT *
        FROM mdl_config
        WHERE  name IN ('enabledevicedetection', 'devicedetectregex')
        

      After the patch
      1. Check out the latest master branch with the patch applied.
      2. Run the upgrade process.
      3. Query for the 'enabledevicedetection', 'devicedetectregex' config records again.
      4. CONFIRM that 'enabledevicedetection' and 'devicedetectregex' fields have been removed.
      Show
      This patch will attempt to remove two theme settings, "Enable device detection" (enabledevicedetection) and "Device detection regular expressions" (devicedetectregex) Before the patch Check out and install a fresh Moodle instance based on the last weekly release. Go to Site administration -> Appearance -> Theme settings Tick the enabledevicedetection theme setting. Specify the devicedetectregex theme setting with any value. Make sure to fill in both inputs. With a DB editor, run a query on the config table to fetch the records for the 'enabledevicedetection' and 'devicedetectregex' config settings. e.g. SELECT * FROM mdl_config WHERE name IN ( 'enabledevicedetection' , 'devicedetectregex' ) After the patch Check out the latest master branch with the patch applied. Run the upgrade process. Query for the 'enabledevicedetection', 'devicedetectregex' config records again. CONFIRM that 'enabledevicedetection' and 'devicedetectregex' fields have been removed.
    • 2
    • Team Hedgehog 2023 Sprint 2.3, Team Hedgehog 2023 Review 2, Team Hedgehog 2023 Sprint 3.1

    Description

      MDL-77793 removes the Legacy theme selectors. One the legacy theme selecting options are removed we can also remove the device detection settings in: Site admin >Appearance > Theme settings

      The two settings to remove are:

      • enabledevicedetection
      • devicedetectregex

      Attachments

        Issue Links

          Activity

            People

              meirza.arson@moodle.com Meirza
              matt.porritt@moodle.com Matt Porritt
              Raquel Ortega Raquel Ortega
              Jun Pataleta Jun Pataleta
              Kim Jared Lucas Kim Jared Lucas
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 3 hours, 36 minutes
                  1d 3h 36m

                  Clockify

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