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

Add course delete hook for course formats

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.8, 1.9
    • 1.9.4
    • Libraries
    • None
    • MOODLE_18_STABLE, MOODLE_19_STABLE
    • MOODLE_19_STABLE

    Description

      There is a flag lib/moodlelib.php:function remove_course_contents() to hide feedback. Regardless of this setting, the course formats always print notifications. Attached is a patch to fix this problem. While I was writing the patch, I switched the code over to use get_list_of_plugins() instead of reading the course/format directory, but the primary goal of this ticket is really to wrap the notify with if ($showfeedback) {}

      Attachments

        Issue Links

          Activity

            People

              dongsheng Dongsheng Cai
              bushido Mark Nielsen
              Tim Hunt Tim Hunt
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              5 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                28/Jan/09