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

Mod assign: delete_instance incorrectly calls get_fast_modinfo when deleting an assignment

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_31_STABLE

      Description

      Stepping through the calls in mod/assign/locallib:

      delete_instance() calls 
      get_instance() which calls
      get_course_module() which calls
      get_fast_modinfo()
      

      Getting the module during deletion should be achieved via a DB call, not via the cache.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jaked Jake Dallimore
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Matteo Scaramuccia, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Matteo Scaramuccia, Jake Dallimore, Jun Pataleta
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: