mirror of
https://github.com/moodle/moodle.git
synced 2025-05-31 21:19:49 +02:00
The native rename() function does not support moving folders cross-device. See https://bugs.php.net/bug.php?id=54097 for details. So instead of trying to move the whole tree, the new installer's method moves files recursively one by one. This is consistent with what mdeploy.php already does.