Commit e2ec37e6 authored by wenjie.zheng's avatar wenjie.zheng Committed by Sebastien Robin

portal_type_class.py: revert unused modifications added during development.

parent 94ef7933
......@@ -395,8 +395,8 @@ def synchronizeDynamicModules(context, force=False):
# stored in WorkflowMethod objects: our generation of workflow
# methods adds/registers/wraps existing methods, but does not
# remove old chains. Do it now.
resetRegisteredWorkflowMethod()
# Some method generations are based on portal methods, and portal
# methods cache results. So it is safer to invalidate the cache.
cache_tool = getattr(portal, 'portal_caches', None)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment