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

External function core_user_external::add_user_private_files is not exported as a Web Service

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9.2
    • Fix Version/s: 2.8.9, 2.9.3
    • Component/s: Web Services
    • Labels:
    • Testing Instructions:
      Hide

      Version number is bumped because the site needs to be upgraded to reload the lib/db/services.php

      After upgrading, go to Site administration ▶ Plugins ▶ Web services ▶ API Documentation and confirm that in the functions list you see the "core_user_add_user_private_files" WS

      Show
      Version number is bumped because the site needs to be upgraded to reload the lib/db/services.php After upgrading, go to Site administration ▶ Plugins ▶ Web services ▶ API Documentation and confirm that in the functions list you see the "core_user_add_user_private_files" WS
    • Affected Branches:
      MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Pull from Repository:

      Description

      For 2.8 and 2.9 the function is not declared in lib/db/services.php so it cannot be used via the Web Services API.

      I consider this a bug since it wasn't intentional (as far as I know) to not export the function

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/Nov/15