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

New file API method file_storage::delete_area_files_select for deleting lots of files more efficiently

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.2
    • 2.0.3
    • Files API
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

    Description

      In the question code, I would like to be able to delete a files en-masse, where the itemid comes from a subquery.

      Sam has a similar requirement to bulk delete in ForumNG.

      Therefore, I have implemented this method.

      Attachments

        Activity

          People

            timhunt Tim Hunt
            timhunt Tim Hunt
            Dongsheng Cai Dongsheng Cai
            Matteo Scaramuccia, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5/May/11