Skip to content
This repository has been archived by the owner on May 9, 2020. It is now read-only.

Commit

Permalink
Applied patch from Awdesh Singh Parihar.
Browse files Browse the repository at this point in the history
Renamed the recently added service from "sendContactUsInfoEmailToCompany" to "sendContactUsEmailToCompany".
As "info" word didn't look appropriate in service name - Thanks Vikas and Anil for providing your precious comment.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@824655 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
ashishvijaywargiya committed Oct 13, 2009
1 parent f0e6bbf commit c2d8da0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ under the License.
</if-compare-field>
</simple-method>

<simple-method method-name="sendContactUsInfoEmailToCompany" short-description="Create communication event and send mail to company" login-required="false">
<simple-method method-name="sendContactUsEmailToCompany" short-description="Create communication event and send mail to company" login-required="false">
<entity-one entity-name="UserLogin" value-field="systemUserLogin" auto-field-map="false">
<field-map field-name="userLoginId" value="system"/>
</entity-one>
Expand Down
4 changes: 2 additions & 2 deletions applications/party/servicedef/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1292,8 +1292,8 @@ under the License.
<attribute name="description" type="String" mode="OUT" optional="true"/>
</service>

<service name="sendContactUsInfoEmailToCompany" engine="simple"
location="component://party/script/org/ofbiz/party/communication/CommunicationEventServices.xml" invoke="sendContactUsInfoEmailToCompany" auth="false">
<service name="sendContactUsEmailToCompany" engine="simple"
location="component://party/script/org/ofbiz/party/communication/CommunicationEventServices.xml" invoke="sendContactUsEmailToCompany" auth="false">
<description>Create communication event and send mail to company</description>
<implements service="createCommunicationEventWithoutPermission"/>
<attribute name="emailAddress" type="String" mode="IN" optional="true"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1291,7 +1291,7 @@ under the License.
</request-map>
<request-map uri="submitAnonContact">
<security https="true" auth="false"/>
<event type="service" invoke="sendContactUsInfoEmailToCompany"/>
<event type="service" invoke="sendContactUsEmailToCompany"/>
<response name="success" type="view" value="AnonContactus"/>
<response name="error" type="view" value="AnonContactus"/>
</request-map>
Expand Down

0 comments on commit c2d8da0

Please sign in to comment.