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

Recycle bin - introduction of a pre_scheduling hook to allow recycle bin to create entries before the async deletion task runs

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.1
    • Fix Version/s: None
    • Component/s: Course
    • Labels:
      None
    • Affected Branches:
      MOODLE_31_STABLE

      Description

      See MDL-54751 for original proposed changes to background the deletion of course sections and modules.

      This is a follow up issue, specifically created to address the lack of an entry in the recycle bin during the minute or so between creating the task, and when the deletion task runs and completes. Right now, the recycle bin entry isn't created until the task runs and the modules are backed up fully.

      Suggest adding another hook in the deletion process allowing the recycle bin (and other plugins) a chance to do something at the point of scheduling a module or section for deletion.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jaked Jake Dallimore
                Participants:
                Component watchers:
                Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                2 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: