Korkonius/web2project — comment on commit 8ea6e1e7e3052c9983013f4180f4fc1771a2d8e2
File:  line 0
By caseysoftware:

The goal of cleanup_functions.php is a single place to collect all the odd functions that need to be refactored before they're restored to their "proper" locations. Also at the top of that file, it notes that before anything comes back out of this file must have Unit Tests to go with it.

Could you move displayFiles (and getFolders) back? The rest of the cleanups look pretty good.