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

delete_instance not called on deleting a resource from course

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a bug
    • Affects Version/s: 3.3.2, 3.4
    • Fix Version/s: None
    • Component/s: Resource
    • Labels:
    • Affected Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE

      Description

      When i delete a resource from a course the method "pluginname_delete_instance" is not being called. 
      I get en error if i remove/rename this function from my plugin so it is somehow recognnized but won't run.

       

      See https://moodle.org/mod/forum/discuss.php?d=362481

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              shippeli Moodle Contributor (Inactive)
              Participants:
              Component watchers:
              Adrian Greeve, Mihail Geshoski, Peter Dias
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: