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

question imports use tempdir instead of request

    XMLWordPrintable

Details

    Description

      These do not need to use tempdir, they can use a requestdir.

      The files are removed after the current thread.

      g2022 sm:MDL-68264-master> gg questionimport
      mod/lesson/import.php:    $importfile = "{$CFG->tempdir}/questionimport/{$realfilename}";
      mod/lesson/import.php:    make_temp_directory('questionimport');
      question/import.php:    $importfile = "{$CFG->tempdir}/questionimport/{$realfilename}";
      question/import.php:    make_temp_directory('questionimport');
      

      Attachments

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              dobedobedoh Andrew Lyons
              Tim Hunt Tim Hunt
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              CiBoT CiBoT
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Matteo Scaramuccia, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo, Safat Shahin, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/May/20

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 11 minutes
                  1h 11m