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
              Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie, Matteo Scaramuccia, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, Safat Shahin, Tim Hunt, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Kevin Percy, Laurent David, Mathew May, Mihail Geshoski, Sabina Abellan, Sara Arjona (@sarjona), Shamim Rezaie
              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