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
    • Resolution: Fixed
    • Minor
    • 1.9.2
    • 1.9
    • 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
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.