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

Make bulk user picture upload handle subdirectories in zip files (with patch)

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9
    • 1.9.2
    • Administration
    • None

    Description

      The current code for bulk importing user pictures expects the picture files not to be in subdirectories inside the zip file at all. If the zip file has subdirectories inside it, any files inside those subdirectories are ignored as we skip over directories.

      The attached patch improves uploadpicture.php to recursively proccess any subdirectories in the zip file (and the files inside them), in addition to processing the files at the 'root' of the zip file.

      Saludos. Iñaki.

      Attachments

        Issue Links

          Activity

            People

              jerome Jérôme Mouneyrac
              iarenaza Iñaki Arenaza
              Anthony Borrow Anthony Borrow
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/Jul/08