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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.9.2
    • 2.8.9, 2.9.3
    • Web Services
    • MOODLE_29_STABLE
    • MOODLE_28_STABLE, MOODLE_29_STABLE
    • 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

    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

            jleyva Juan Leyva
            jleyva Juan Leyva
            Dani Palou Dani Palou
            Andrew Lyons Andrew Lyons
            Rajesh Taneja Rajesh Taneja
            Juan Leyva, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9/Nov/15