Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resetdb: fix and simplify the process of clearing media files.
Previously, resetdb would fail if the media directory contained something that wasn't a subdirectory (such as a file called "ethics" that was created by a buggy version of loaddemo.) We can simplify this function enormously - what we really want is to delete *everything* except for ".gitkeep" files.
- Loading branch information