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

Block instances not deleted correctly when deleting a course

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.3
    • Fix Version/s: 1.7.2, 1.8, 1.9
    • Component/s: Blocks
    • Labels:
      None
    • Affected Branches:
      MOODLE_16_STABLE
    • Fixed Branches:
      MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      This bug was found in Moodle 1.6.3 but most likely exists in earlier versions.

      In moodlelib.php, the function remove_course_contents() does not delete block instance data. Attached is a diff off of MOODLE_163 of the proposed solution.

        Attachments

          Activity

            People

            • Assignee:
              lazyfish Yu Zhang
              Reporter:
              bushido Mark Nielsen
              Tester:
              Nobody
              Participants:
              Component watchers:
              Adrian Greeve, Mihail Geshoski, Peter Dias
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                30/Mar/07