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

delete_course should throw an exception if trying to delete the site course

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 2.3
    • None
    • Course, Libraries
    • MOODLE_23_STABLE

    Description

      Trying to delete the site course returns false, however I think this is an exceptional circumstance and that we should make the function throw an exception if the site course is attempted to be deleted.

      It will also make the web service clearer as described in MDL-13130

      Attachments

        Issue Links

          Activity

            People

              jleyva Juan Leyva
              poltawski Dan Poltawski
              Amaia Anabitarte, Carlos Escobedo, Laurent David, Sabina Abellan, Sara Arjona (@sarjona), David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: