|
|
@ -270,8 +270,6 @@ class IslandoraFedoraApiM extends FedoraApiM { |
|
|
|
case 'block': |
|
|
|
case 'block': |
|
|
|
throw new Exception('Purge Datastream was blocked.'); |
|
|
|
throw new Exception('Purge Datastream was blocked.'); |
|
|
|
|
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
case 'delete': |
|
|
|
case 'delete': |
|
|
|
$object[$dsid]->state = 'D'; |
|
|
|
$object[$dsid]->state = 'D'; |
|
|
|
return array(); |
|
|
|
return array(); |
|
|
@ -315,8 +313,6 @@ class IslandoraFedoraApiM extends FedoraApiM { |
|
|
|
case 'block': |
|
|
|
case 'block': |
|
|
|
throw new Exception('Purge object was blocked.'); |
|
|
|
throw new Exception('Purge object was blocked.'); |
|
|
|
|
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
case 'delete': |
|
|
|
case 'delete': |
|
|
|
$object->state = 'D'; |
|
|
|
$object->state = 'D'; |
|
|
|
return ''; |
|
|
|
return ''; |
|
|
|