From 7f525bebbfc332ce80ea7dd800f7d7b72c60691a Mon Sep 17 00:00:00 2001 From: Kathrin Huber Date: Wed, 19 May 2021 12:25:03 +0200 Subject: [PATCH] don't save processes from project --- .../org/kitodo/production/services/data/ProjectService.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Kitodo/src/main/java/org/kitodo/production/services/data/ProjectService.java b/Kitodo/src/main/java/org/kitodo/production/services/data/ProjectService.java index 0f4ae29a3e6..cd523f7e1c9 100644 --- a/Kitodo/src/main/java/org/kitodo/production/services/data/ProjectService.java +++ b/Kitodo/src/main/java/org/kitodo/production/services/data/ProjectService.java @@ -105,10 +105,6 @@ private void manageProcessesDependenciesForIndex(Project project) for (Process process : project.getProcesses()) { ServiceManager.getProcessService().removeFromIndex(process, false); } - } else { - for (Process process : project.getProcesses()) { - ServiceManager.getProcessService().saveToIndex(process, false); - } } }