laravel-scorm icon indicating copy to clipboard operation
laravel-scorm copied to clipboard

Fix: Move the deleteScormFolder() method call to the deleteScorm() me…

Open Kreshnik opened this issue 3 years ago • 1 comments

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.

As deleteScormData is called further down in the uploadScormArchive method, all content is removed after a successful upload.

Kreshnik avatar Nov 24 '22 12:11 Kreshnik

@devianl2 can someone do a pull?

Kreshnik avatar Jan 19 '23 12:01 Kreshnik