Fixed bug in purge.php. Needs to be tested however as the app user does not have DELETE permission.