From 3c52ceb71a6c8a07bdf13bc8788ce0ad97ffc241 Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Tue, 22 Mar 2016 17:01:45 -0700 Subject: [PATCH] [Timeline] Remove unused function Removal of domain objects is handled by using the move action. --- .../src/controllers/swimlane/TimelineSwimlaneDropHandler.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/platform/features/timeline/src/controllers/swimlane/TimelineSwimlaneDropHandler.js b/platform/features/timeline/src/controllers/swimlane/TimelineSwimlaneDropHandler.js index 5163142469..d4b70d8c65 100644 --- a/platform/features/timeline/src/controllers/swimlane/TimelineSwimlaneDropHandler.js +++ b/platform/features/timeline/src/controllers/swimlane/TimelineSwimlaneDropHandler.js @@ -80,12 +80,6 @@ define( return swimlane.children.map(matches).reduce(or, false); } - // Remove a domain object from its current location - function remove(domainObject) { - return domainObject && - domainObject.getCapability('action').perform('remove'); - } - // Initiate mutation of a domain object function doMutate(domainObject, mutator) { return asPromise(