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

Consider to drop support for plugin_callback(), moving all uses to the newer component_callback()

    Details

    • Type: Task
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.3, 2.8
    • Fix Version/s: DEV backlog
    • Component/s: Libraries
    • Labels:
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_28_STABLE

      Description

      After MDL-30592 we have two functions 99.9% equivalent:

      • plugin_callback() the "old" one, with separate $type, $name, $feature, $action, calling always to
      • component_callbackup(), with just component and function

      This issue is about to decide if we want to deprecate the former, moving all uses to the later. Or, alternatively, if both can coexist forever.

      (deprecation would happen in current master - 2.3 -, and drop support in next one - 2.4)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  1 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated: