Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-31207 META: Collect together deprecated code changes for Moodle 2.5
  3. MDL-37082

Remove delete_course_module and replace with course_delete_module

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5
    • Component/s: Libraries
    • Testing Instructions:
      Hide
      1. Ensure JS is turned on.
      2. Add a bunch of different course modules to a course, including some with images etc.
      3. Delete them all.
      4. Check the data in the database is gone, as well as any uploaded files.
      5. Repeat the above but with JS turned off.
      6. Create an old assignment activity with lots of details.
      7. Run the upgrade_assignment tool and ensure the upgrade worked (see http://docs.moodle.org/23/en/Upgrade_tool on how to use the upgrade tool).
      Show
      Ensure JS is turned on. Add a bunch of different course modules to a course, including some with images etc. Delete them all. Check the data in the database is gone, as well as any uploaded files. Repeat the above but with JS turned off. Create an old assignment activity with lots of details. Run the upgrade_assignment tool and ensure the upgrade worked (see http://docs.moodle.org/23/en/Upgrade_tool on how to use the upgrade tool).
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-37082-master

      Description

      Create a core function that can be used by the web service and in core itself to delete module information.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/May/13