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

Final deprecation of external_function_info() in 3.5.

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1, 3.6
    • Fix Version/s: 3.6
    • Component/s: Libraries
    • Labels:
    • Testing Instructions:
      Hide

      Manual testing steps:

      1. Put into your local directory the attached test file test_external_function_info.php. (This script only has a call to external_function_info()).
      2. Login in your Moodle with any user (admin is not need it).
      3. Go to this URL in your browser: http://MOODLESITE/local/test_external_function_info.php
      4. Expected result: Check you can see this error message:

      Coding error detected, it must be fixed by a programmer: 
      external_function_info() can not be used any more. Please use 
      external_api::external_function_info() instead.
      

      Show
      Manual testing steps: Put into your local directory the attached test file  test_external_function_info.php . (This script only has a call to external_function_info()). Login in your Moodle with any user (admin is not need it). Go to this URL in your browser: http://MOODLESITE/local/test_external_function_info.php Expected result: Check you can see this error message: Coding error detected, it must be fixed by a programmer: external_function_info() can not be used any more. Please use external_api::external_function_info() instead.
    • Affected Branches:
      MOODLE_31_STABLE, MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Pull Master Branch:
      MDL-53808-master

      Description

      What it says.

        Attachments

          Activity

            People

            Assignee:
            cescobedo Carlos Escobedo
            Reporter:
            damyon Damyon Wiese
            Peer reviewer:
            Mihail Geshoski
            Integrator:
            Andrew Nicols
            Tester:
            Bas Brands
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              3/Dec/18