From 801573614909b7dc537853646fc165bd43848c20 Mon Sep 17 00:00:00 2001 From: Jordan Dukart Date: Thu, 25 Jul 2013 12:06:27 -0300 Subject: [PATCH] Unneeded breaks around throws. --- includes/tuque_wrapper.inc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/includes/tuque_wrapper.inc b/includes/tuque_wrapper.inc index 780622ee..3c14b303 100644 --- a/includes/tuque_wrapper.inc +++ b/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 '';