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

Ensure all backup & restore operations in core always call to controller->destroy()

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE

      Description

      This is a followup of MDL-34894.

      With this issue, we are tying to achieve:

      • error_log() whenever a backup or restore operation is finished and no call to ->destroy() has been performed. Note we cannot use "higher" APIs like debugging() and friends, only error_log() is guaranteed to be available.
      • All the backup and restore operations within core always call to ->destroy() in order to get objects properly cleaned and purged.
      • Document the change in backup & restore examples.

      (Only for 2.4 and upwards)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: