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

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5
    • 2.5
    • Libraries
    • MOODLE_25_STABLE
    • MOODLE_25_STABLE
    • MDL-37082-master
    • 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).

    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

              markn Mark Nelson
              markn Mark Nelson
              Jérôme Mouneyrac Jérôme Mouneyrac
              Dan Poltawski Dan Poltawski
              Frédéric Massart Frédéric Massart
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/May/13