diff --git a/src/Listener/Dca/MarkerDcaListener.php b/src/Listener/Dca/MarkerDcaListener.php index 1a5ef62..ad06d4f 100644 --- a/src/Listener/Dca/MarkerDcaListener.php +++ b/src/Listener/Dca/MarkerDcaListener.php @@ -212,21 +212,11 @@ class MarkerDcaListener { // Check the current action switch (Input::get('act')) { - case 'paste': - return null; - case '': case 'create': case 'select': return (int) Input::get('id'); - case 'editAll': - case 'deleteAll': - case 'overrideAll': - case 'cutAll': - case 'copyAll': - return (int) Input::get('pid'); - default: return (int) CURRENT_ID; } diff --git a/src/Listener/Dca/VectorDcaListener.php b/src/Listener/Dca/VectorDcaListener.php index 6b10cbf..e65b31e 100644 --- a/src/Listener/Dca/VectorDcaListener.php +++ b/src/Listener/Dca/VectorDcaListener.php @@ -166,21 +166,11 @@ class VectorDcaListener extends AbstractListener { // Check the current action switch (Input::get('act')) { - case 'paste': - return null; - case '': case 'create': case 'select': return (int) Input::get('id'); - case 'editAll': - case 'deleteAll': - case 'overrideAll': - case 'cutAll': - case 'copyAll': - return (int) Input::get('pid'); - default: return (int) CURRENT_ID; }