Browse Source

Unneeded breaks around throws.

pull/367/head
Jordan Dukart 12 years ago
parent
commit
8015736149
  1. 4
      includes/tuque_wrapper.inc

4
includes/tuque_wrapper.inc

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

Loading…
Cancel
Save