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

              Assignee:
              dobedobedoh Andrew Nicols
              Reporter:
              dobedobedoh Andrew Nicols
              Peer reviewer:
              Tim Hunt
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              CiBoT
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                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