Commit b0bc49f1 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

portal_workflow is not used in this method, so we don't need to get it here.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34463 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 28a7a46c
...@@ -331,7 +331,6 @@ def getMessageIdWithContext(msg_id, context, context_id): ...@@ -331,7 +331,6 @@ def getMessageIdWithContext(msg_id, context, context_id):
#Get translation of msg id #Get translation of msg id
def getTranslationStringWithContext(self, msg_id, context, context_id): def getTranslationStringWithContext(self, msg_id, context, context_id):
portal = self.getPortalObject() portal = self.getPortalObject()
portal_workflow = portal.portal_workflow
localizer = portal.Localizer localizer = portal.Localizer
selected_language = localizer.get_selected_language() selected_language = localizer.get_selected_language()
msg_id_context = getMessageIdWithContext(msg_id, context, context_id) msg_id_context = getMessageIdWithContext(msg_id, context, context_id)
......
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