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

admin block unavailalbe if deleted from site home page

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8.1
    • Component/s: Administration
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE

      Description

      If one deletes the administration block from the site home page, it is no longer available to be added back because the function applicable_formats( ) does not include 'site' => true. The problem was fixed with return array('course' => true, 'site' => true) on line 204 or one could just delete applicable_formats.

      An administrator could still access the block from /admin without this fix, but it could be very confusing.

        Attachments

          Activity

            People

            • Assignee:
              poltawski Dan Poltawski
              Reporter:
              ganderson Gary Anderson
              Tester:
              Nobody
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Jun/07