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

Deprecate 'enrol_database_admin_setting_category' class

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Test 1

      1. Using the terminal go to the root folder of your moodle instance.
      2. Do a grep for 'enrol_database_admin_setting_category' (grep -Ri enrol_database_admin_setting_category)
        • Confirm that the only results are in:
          • enrol/database/upgrade.txt (the notes about the class removal)

      Test 2

      1. Log in as Admin.
      2. Go to Site administration > Plugin > Enrolments > Manage enrol plugins
      3. Go to the settings page for the 'External database' enrolment plugin (URL: /admin/settings.php?section=enrolsettingsdatabase)
        • Confirm that there is a 'Default new course category' setting which is displaying all available course categories in a drop-down select element.

       

      Show
      Test 1 Using the terminal go to the root folder of your moodle instance. Do a grep for 'enrol_database_admin_setting_category' ( grep -Ri enrol_database_admin_setting_category ) Confirm that the only results are in: enrol/database/upgrade.txt (the notes about the class removal) Test 2 Log in as Admin. Go to Site administration > Plugin > Enrolments > Manage enrol plugins Go to the settings page for the 'External database' enrolment plugin (URL: /admin/settings.php?section=enrolsettingsdatabase) Confirm that there is a 'Default new course category' setting which is displaying all available course categories in a drop-down select element.  
    • Affected Branches:
      MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE
    • Pull Master Branch:
      MDL-67845-master-3
    • Story Points:
      1
    • Sprint:
      Activity Sprint 10

      Description

      Working on MDL-67278 we realize  'enrol_database_admin_setting_category' class could be deprecated and 'admin_settings_coursecat_select' used instead.

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Geshoski Mihail Geshoski
              Reporter:
              amaia Amaia Anabitarte
              Peer reviewer:
              Peter Dias
              Integrator:
              Andrew Nicols
              Tester:
              Anna Carissa Sadia
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                15/Jun/20

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 5 minutes
                  2h 5m