Add gateway relative url to params of SMSTool_afterSend

git-svn-id: https://svn.erp5.org/repos/experimental@2072 bc57dcba-3610-0410-ab4f-dc20bb96b918
parent acc3a31a
...@@ -76,7 +76,8 @@ class SMSTool(BaseTool): ...@@ -76,7 +76,8 @@ class SMSTool(BaseTool):
send_activate_kw.update(**activate_kw) send_activate_kw.update(**activate_kw)
self.activate(**send_activate_kw).SMSTool_afterSend( self.activate(**send_activate_kw).SMSTool_afterSend(
message_id_list, message_id_list,
document_relative_url=document_relative_url, **kw) document_relative_url=document_relative_url,
gateway_relative_url=gateway.getRelativeUrl(),**kw)
security.declareProtected(ManagePortal, 'getMessageStatus') security.declareProtected(ManagePortal, 'getMessageStatus')
def getMessageStatus(self,message_id, gateway_reference='default'): def getMessageStatus(self,message_id, gateway_reference='default'):
......
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