|
|
|
@ -334,7 +334,7 @@ QUERY;
|
|
|
|
|
$return_value = TRUE; |
|
|
|
|
foreach ($objects as $object) { |
|
|
|
|
$loaded_object = islandora_object_load($object['object']['value']); |
|
|
|
|
$this->repository->api->m->purgeObject($loaded_object->id); |
|
|
|
|
$this->repository->purgeObject($loaded_object->id); |
|
|
|
|
if (!islandora_object_load($object['object']['value'])) { |
|
|
|
|
$this->addResult(TRUE, "Object {$object['object']['value']} successfully removed from repository."); |
|
|
|
|
} |
|
|
|
|