Permalink
Browse files

Modified: wflow-wfengine - Removed unnecessary call to retrieve activ…

…ity info when getting assignments.

git-svn-id: http://dev.joget.org/svn/jw-community/trunk@325 1bff935d-2fe2-40b7-b00f-c2aca69a7612
  • Loading branch information...
1 parent aea4854 commit a8f7a5cc4128c2aa55b76792ed169e1b2e3b5149 julian committed Mar 2, 2012
@@ -10,8 +10,6 @@
import org.enhydra.shark.api.client.wfmc.wapi.WMSessionHandle;
import org.enhydra.shark.api.internal.assignment.PerformerData;
import org.enhydra.shark.assignment.HistoryRelatedAssignmentManager;
-import org.joget.workflow.model.WorkflowActivity;
-import org.joget.workflow.model.dao.WorkflowHelper;
import org.joget.workflow.model.service.WorkflowUserManager;
import org.springframework.context.ApplicationContext;
@@ -29,7 +27,6 @@
String procDefId = workflowManager.getProcessDefIdByInstanceId(instanceId);
WorkflowProcess process = workflowManager.getProcess(procDefId);
- WorkflowActivity activity = workflowManager.getActivityById(actId);
String currentUsername = (String) shandle.getVendorData();
if (currentUsername.equals(WorkflowUserManager.ROLE_ANONYMOUS)) {

0 comments on commit a8f7a5c

Please sign in to comment.