Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-37774 Make moodle1_file_manager::migrate_directory() support trai…
…ling slash in rootpath As the $rootpath is concatenated with the $relpath, we would end with a path like course_files//file.txt. Such a path is detected as not-valid later and an error would be thrown. So the patch makes sure that the trailing slash is cut off.
- Loading branch information