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

Drop support for $CFG->admin

    XMLWordPrintable

Details

    • MOODLE_400_STABLE
    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE
    • MDL-72621-311
    • MDL-72621-master
    • Hide
      1. Navigate to Site administration -> Server -> Environment
      2. Select Moodle 4.0
      3. Find the "Other checks" section
        1. Confirm that there is no mention of a failed admin check for admin_dir_usage
      4. Edit the config.php and set $CFG->admin = 'altadmin';
      5. Symlink the admin directory to altadmin:

        ln -s admin altadmin
        

      6. Refresh the environment check
        1. Confirm that the admin check for admin_dir_usage fails and has a warning advising that you are using a custom admin directory which will be deprecated
      Show
      Navigate to Site administration -> Server -> Environment Select Moodle 4.0 Find the "Other checks" section Confirm that there is no mention of a failed admin check for admin_dir_usage Edit the config.php and set $CFG->admin = 'altadmin'; Symlink the admin directory to altadmin : ln -s admin altadmin Refresh the environment check Confirm that the admin check for admin_dir_usage fails and has a warning advising that you are using a custom admin directory which will be deprecated

    Description

      As discussed, voted, and agreed in MDL-72194, the configurable $CFG->admin path feature will be deprecated from Moodle 4.0.

      Attachments

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              dobedobedoh Andrew Lyons
              Ilya Tregubov Ilya Tregubov
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Gladys Basiana Gladys Basiana
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                8/Nov/21

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 46 minutes
                  1h 46m