|
|
|
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.
|
|
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. |
Show » |
committed 1 file to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 03/Jul/08 03:16 PM
MDL-14233 Make bulk user picture upload handle subdirectories in zip files (with patch)
|
|
|
committed 1 file to 'Moodle CVS' - 03/Jul/08 03:35 PM
MDL-14233 Make bulk user picture upload handle subdirectories in zip files, merged from 19 (updated the code in order to use mdlib 2.0)
|
|
|
committed 1 file to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 03/Jul/08 03:36 PM
|