diff --git a/product/ERP5Type/ZopePatch.py b/product/ERP5Type/ZopePatch.py index 9cf0ecec56f23dea24e5c32182d563df9c4484b6..484685862c0f30dc566984e0f093df3848db06f5 100644 --- a/product/ERP5Type/ZopePatch.py +++ b/product/ERP5Type/ZopePatch.py @@ -63,8 +63,7 @@ from Products.ERP5Type.patches import DateTimePatch from Products.ERP5Type.patches import PythonScript from Products.ERP5Type.patches import MailHost from Products.ERP5Type.patches import memcache_client -if WITH_LEGACY_WORKFLOW: - from Products.ERP5Type.patches import StateChangeInfoPatch +from Products.ERP5Type.patches import StateChangeInfoPatch from Products.ERP5Type.patches import transforms from Products.ERP5Type.patches import OFSPdata from Products.ERP5Type.patches import DemoStorage diff --git a/product/ERP5Type/patches/StateChangeInfoPatch.py b/product/ERP5Type/patches/StateChangeInfoPatch.py index 82fe8f55474b727c37f182a54856f1c51248e6ed..8f648575a259f51ff52d085a5d35e894a120f74f 100644 --- a/product/ERP5Type/patches/StateChangeInfoPatch.py +++ b/product/ERP5Type/patches/StateChangeInfoPatch.py @@ -27,7 +27,6 @@ ############################################################################## from Products.ERP5Type import WITH_LEGACY_WORKFLOW -assert WITH_LEGACY_WORKFLOW from Products.DCWorkflow.Expression import StateChangeInfo from Products.PythonScripts.Utility import allow_class