Open Kreshnik opened 1 year ago
When calling the method
public function uploadScormArchive(UploadedFile $file, $uuid = null)
It calls within it the method:
private function saveScorm($file, $filename, $uuid = null)
Which calls the method:
private function generateScorm($file)
Which calls the unzipper method on the scormDisk object. The scorm path is cleared within the method body before the new content is made available.
unzipper
scormDisk
As deleteScormData is called further down in the uploadScormArchive method, all content is removed after a successful upload.
deleteScormData
uploadScormArchive
@devianl2 can someone do a pull?
When calling the method
It calls within it the method:
Which calls the method:
Which calls the
unzipper
method on thescormDisk
object. The scorm path is cleared within the method body before the new content is made available.As
deleteScormData
is called further down in theuploadScormArchive
method, all content is removed after a successful upload.