diff --git a/Moosh/Command/Moodle39/Dev/GenerateFiles.php b/Moosh/Command/Moodle39/Dev/GenerateFiles.php index fa9bb047..e634b9b9 100644 --- a/Moosh/Command/Moodle39/Dev/GenerateFiles.php +++ b/Moosh/Command/Moodle39/Dev/GenerateFiles.php @@ -163,7 +163,7 @@ private function create_files() { // Generate random binary data (different for each file so it // doesn't compress unrealistically). - $data = random_bytes_emulate($this->filesize); + $data = random_bytes($this->filesize); $fs->create_file_from_string($filerecord, $data); $this->dot($i, $count);