@ -113,7 +113,7 @@ function islandora_collection_deletion_form_submit($form, &$form_state) {
* @param string $pid
*/
function delete_root_collection($object) {
$pid = $object->id;
try {
$object->repository->purgeObject($object->id);
} catch (RepositoryException $e) {