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

Return false instead of exception in component_callback_exists

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.10
    • Fix Version/s: None
    • Component/s: Libraries
    • Labels:
    • Affected Branches:
      MOODLE_310_STABLE

      Description

      In MDL-69704 has been detected that the behaviour for component_callback_exists  should be improved, in order to make it more consistent and returning false instead of throwing an exception when component is not found. This change should be documented properly (commented in upgrade.txt and reviewed PHPDoc). 

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              sarjona Sara Arjona (@sarjona)
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated: