Empty directories not removed from temp

Description

Note sure why, but empty folders are left in the files/h5p/temp directory for some reason.
Happens in Drupal, WordPress and Moodle.

Environment

None

Acceptance Criteria

1. Make sure temp folders are deleted when they're no longer being used.
2. Upgrade script that cleans up all folders in temp folder.

Status

Assignee

Unassigned

Reporter

Frode Petterson

Labels

Funding

None

Code reviewer

None

Released

None

Time tracking

0m

Fix versions

None

Sprint

None

Priority

High